From owner-freebsd-bugs@FreeBSD.ORG Fri May 5 18:20:21 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E44E16A40F for ; Fri, 5 May 2006 18:20:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B08D043D67 for ; Fri, 5 May 2006 18:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k45IKI8d092853 for ; Fri, 5 May 2006 18:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k45IKIGE092852; Fri, 5 May 2006 18:20:18 GMT (envelope-from gnats) Resent-Date: Fri, 5 May 2006 18:20:18 GMT Resent-Message-Id: <200605051820.k45IKIGE092852@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Steven G. Kargl" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D63016A401; Fri, 5 May 2006 18:19:41 +0000 (UTC) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39CFD43D5D; Fri, 5 May 2006 18:19:40 +0000 (GMT) (envelope-from kargl@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.6/8.13.6) with ESMTP id k45IJdBU071564; Fri, 5 May 2006 11:19:39 -0700 (PDT) (envelope-from kargl@troutmask.apl.washington.edu) Received: (from root@localhost) by troutmask.apl.washington.edu (8.13.6/8.13.6/Submit) id k45IJdHF071558; Fri, 5 May 2006 11:19:39 -0700 (PDT) (envelope-from kargl) Message-Id: <200605051819.k45IJdHF071558@troutmask.apl.washington.edu> Date: Fri, 5 May 2006 11:19:39 -0700 (PDT) From: "Steven G. Kargl" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ru@FreeBSD.org Subject: conf/96834: [PATCH] Update Fortran related variables in sys.mk X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Steven G. Kargl" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 18:20:21 -0000 >Number: 96834 >Category: conf >Synopsis: [PATCH] Update Fortran related variables in sys.mk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 05 18:20:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Steven G. Kargl >Release: FreeBSD 7.0-CURRENT amd64 >Organization: APL/UW >Environment: System: FreeBSD troutmask.apl.washington.edu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Apr 13 10:34:17 PDT 2006 root@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW amd64 >Description: The sys.mk file currently defines "FFLAGS = -O" for the default Fortran compilation options while "CFLAGS = -O2 -pipe". Futhermore, the .if (POSIX) conditional is unnecessary. FreeBSD has never had a fort77 program and it never will. >How-To-Repeat: >Fix: The patch removes the POSIX conditional and updates the default Fortran flags. --- sys.mk.orig Fri May 5 11:12:58 2006 +++ sys.mk Fri May 5 11:13:46 2006 @@ -63,13 +63,8 @@ _+_ ?= + .endif -.if defined(%POSIX) -FC ?= fort77 -FFLAGS ?= -O 1 -.else FC ?= f77 -FFLAGS ?= -O -.endif +FFLAGS ?= -O2 -pipe EFLAGS ?= INSTALL ?= install >Release-Note: >Audit-Trail: >Unformatted: