[SUGGEST] CPUTYPE reflects to FFLAGS in bsd.cpu.mk
Kris Kennaway
kris at obsecurity.org
Sat Jun 14 17:11:56 PDT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030614/d26a0506/attachment.bin
More information about the freebsd-hackers
mailing list