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. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Index: bsd.cpu.mk > =================================================================== > RCS file: /home/ncvs/src/share/mk/bsd.cpu.mk,v > retrieving revision 1.28 > diff -u -r1.28 bsd.cpu.mk > --- bsd.cpu.mk 22 May 2003 16:56:46 -0000 1.28 > +++ bsd.cpu.mk 14 Jun 2003 19:52:28 -0000 > @@ -147,4 +147,5 @@ > > .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. Kris
pgp00000.pgp
Description: PGP signature