www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - recls Makefile ignores CFLAGS

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
The linux.mak for dmd/src/phobos/etc/c/recls
ignores the value of CFLAGS and instead uses:

-Wall  -O4 -mcpu=i686

And a few defines, but those can stay in...

-DNDEBUG -DUNIX -D_M_IX86

It should respect the top values of CFLAGS.
(i.e. the ones given to the phobos linux.mak)


It could just be that it calls it "CCFLAGS" ?

--anders
Dec 09 2004
parent reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
Noted.

FYI: recls will be getting some serious rework / enhancement in the next
few weeks, which will inevitably touch on the build.

Thanks

Matthew

"Anders F Björklund" <afb algonet.se> wrote in message
news:cp9r6t$igl$1 digitaldaemon.com...
 The linux.mak for dmd/src/phobos/etc/c/recls
 ignores the value of CFLAGS and instead uses:

 -Wall  -O4 -mcpu=i686

 And a few defines, but those can stay in...

 -DNDEBUG -DUNIX -D_M_IX86

 It should respect the top values of CFLAGS.
 (i.e. the ones given to the phobos linux.mak)


 It could just be that it calls it "CCFLAGS" ?

 --anders
Dec 09 2004
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Matthew wrote:

 Noted.
 
 FYI: recls will be getting some serious rework / enhancement in the next
 few weeks, which will inevitably touch on the build.
OK. Changing CCFLAGS to CFLAGS and CCDEPS to CDEPS fixed this issue.
 CCARGS = $(CFLAGS) $(CDEFS) -c -I. -I$(STLSOFT_INCLUDE)
--anders
Dec 09 2004