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

2003-06-17 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Norikatsu Shigemura <[EMAIL PROTECTED]> writes: : On Tue, 17 Jun 2003 16:22:48 -0600 (MDT) : "M. Warner Losh" <[EMAIL PROTECTED]> wrote: : > : -FFLAGS ?= -O : > : +FFLAGS ?= ${CFLAGS} : > +FFLAGS ?= ${CFLAGS:

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

2003-06-17 Thread Norikatsu Shigemura
On Tue, 17 Jun 2003 16:22:48 -0600 (MDT) "M. Warner Losh" <[EMAIL PROTECTED]> wrote: > : -FFLAGS ?= -O > : +FFLAGS ?= ${CFLAGS} > +FFLAGS ?= ${CFLAGS:C/-std=[a-z:0-9]+//}} > : .endif > : EFLAGS ?= > might be better. Aha! -s

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

2003-06-17 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Norikatsu Shigemura <[EMAIL PROTECTED]> writes: : On Sun, 15 Jun 2003 17:43:50 -0700 : Kris Kennaway <[EMAIL PROTECTED]> wrote: : > > Humm.. Like following diff? : > Not really what I had in mind. : > > CXXFLAGS ?= ${CFLAGS:C/-std=[a-z:0-9]+//} :

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

2003-06-17 Thread Norikatsu Shigemura
On Sun, 15 Jun 2003 17:43:50 -0700 Kris Kennaway <[EMAIL PROTECTED]> 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 =

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

2003-06-15 Thread Kris Kennaway
On Sun, Jun 15, 2003 at 11:23:41PM +0900, Norikatsu Shigemura 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. Kris pgp0.pgp Description: PGP signature

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

2003-06-15 Thread Norikatsu Shigemura
On Sat, 14 Jun 2003 17:11:55 -0700 Kris Kennaway <[EMAIL PROTECTED]> wrote: > > .if !defined(NO_CPU_CFLAGS) > > CFLAGS += ${_CPUCFLAGS} > > +FFLAGS += ${_CPUCFLAGS} > > .endif > The better place to do this would be in sys.mk. See how CXXFLAGS is handled there. Humm.. Like following dif

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

2003-06-14 Thread Kris Kennaway
On Sun, Jun 15, 2003 at 05:05:54AM +0900, Norikatsu Shigemura wrote: > When I checked octave port, I noticed that FORTRAN source was > compiled without reflecting CPUTYPE. I think this should be > changed behavior. If no problem, please commit this. > > - - - - - - - - - - - -

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

2003-06-14 Thread Norikatsu Shigemura
When I checked octave port, I noticed that FORTRAN source was compiled without reflecting CPUTYPE. I think this should be changed behavior. If no problem, please commit this. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Index: bsd.cpu.m