[SUGGEST] CPUTYPE reflects to FFLAGS in bsd.cpu.mk

Norikatsu Shigemura nork at FreeBSD.org
Tue Jun 17 09:29:24 PDT 2003


On Sun, 15 Jun 2003 17:43:50 -0700
Kris Kennaway <kris at obsecurity.org> wrote:
> > 	Humm.. Like following diff?
> Not really what I had in mind.
> >  CXXFLAGS	?=	${CFLAGS:C/-std=[a-z:0-9]+//}
> FFLAGS should be set similar to this.

	Ah. OK. Like this?

Index: sys.mk
===================================================================
RCS file: /home/ncvs/src/share/mk/sys.mk,v
retrieving revision 1.67
diff -u -r1.67 sys.mk
--- sys.mk	1 Jun 2003 22:13:45 -0000	1.67
+++ sys.mk	17 Jun 2003 16:27:28 -0000
@@ -63,7 +63,7 @@
 FFLAGS		?=	-O 1
 .else
 FC		?=	f77
-FFLAGS		?=	-O
+FFLAGS		?=	${CFLAGS}
 .endif
 EFLAGS		?=
 



More information about the freebsd-hackers mailing list