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

M. Warner Losh imp at bsdimp.com
Tue Jun 17 22:21:49 PDT 2003


In message: <200306180510.h5I5Ai1J055092 at nd250009.gab.xdsl.ne.jp>
            Norikatsu Shigemura <nork at FreeBSD.org> writes:
: On Tue, 17 Jun 2003 16:22:48 -0600 (MDT)
: "M. Warner Losh" <imp at bsdimp.com> wrote:
: > : -FFLAGS		?=	-O
: > : +FFLAGS		?=	${CFLAGS}
: >   +FFLAGS		?=	${CFLAGS:C/-std=[a-z:0-9]+//}}
: > :  .endif
: > :  EFLAGS		?=
: > might be better.
: 
: 	Aha! -std=c99 (etc..) is only C feature.

Yes.  That's right.  -std= might be used for other languages, but its
meaning would be totally different for each of them.

: 	I see.  I'll send-pr this fix. (or anyone, commit this!)

I'll add it to my tree, and hopefully commit it soon.

Warner


More information about the freebsd-hackers mailing list