Thread overview
recls Makefile ignores CFLAGS
Dec 09, 2004
Matthew
December 09, 2004
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
December 09, 2004
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


December 09, 2004
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