Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 16:22:48 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        nork@freebsd.org
Cc:        kris@obsecurity.org
Subject:   Re: [SUGGEST] CPUTYPE reflects to FFLAGS in bsd.cpu.mk
Message-ID:  <20030617.162248.133289574.imp@bsdimp.com>
In-Reply-To: <200306171629.h5HGTK1I036487@nd250009.gab.xdsl.ne.jp>
References:  <200306151423.h5FENf1I056184@nd250009.gab.xdsl.ne.jp> <20030616004350.GA34076@rot13.obsecurity.org> <200306171629.h5HGTK1I036487@nd250009.gab.xdsl.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200306171629.h5HGTK1I036487@nd250009.gab.xdsl.ne.jp>
            Norikatsu Shigemura <nork@freebsd.org> writes:
: On Sun, 15 Jun 2003 17:43:50 -0700
: Kris Kennaway <kris@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}
  +FFLAGS		?=	${CFLAGS:C/-std=[a-z:0-9]+//}}
:  .endif
:  EFLAGS		?=

might be better.

Warner



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