Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 May 2006 11:19:39 -0700 (PDT)
From:      "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ru@FreeBSD.org
Subject:   conf/96834: [PATCH] Update Fortran related variables in sys.mk
Message-ID:  <200605051819.k45IJdHF071558@troutmask.apl.washington.edu>
Resent-Message-ID: <200605051820.k45IKIGE092852@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605051819.k45IJdHF071558>