[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SUGGEST] CPUTYPE reflects to FFLAGS in bsd.cpu.mk
- Subject: [SUGGEST] CPUTYPE reflects to FFLAGS in bsd.cpu.mk
- From: imp at bsdimp.com (M. Warner Losh)
- Date: Tue Jun 17 22:21:59 2003
In message: <200306180510_(_dot_)_h5I5Ai1J055092_(_at_)_nd250009_(_dot_)_gab_(_dot_)_xdsl_(_dot_)_ne_(_dot_)_jp>
Norikatsu Shigemura <nork_(_at_)_FreeBSD_(_dot_)_org> writes:
: On Tue, 17 Jun 2003 16:22:48 -0600 (MDT)
: "M. Warner Losh" <imp_(_at_)_bsdimp_(_dot_)_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
Visit your host, monkey.org