This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CXXFLAGS patch evaporated



Chip Salzenberg <chip@valinux.com> writes:

> [...]
> Index: src/Makefile.am
> [...]
>  CXXFLAGS = -g -D_GNU_SOURCE -fno-implicit-templates \
> +	   -Wall -Wno-format -W -Wwrite-strings -Winline \
> +	   @CXXFLAGS@ $(WERROR) $(OTHER_CXXFLAGS)
> [...]

This looks wrong to me.  CXXFLAGS is meant to be an end-user knob to
tweak optimization / debugging settings.  You should probably look
downstream at the actual compilation rule, and see what other standard
flag macros are available to set.  AM_CXXFLAGS or EXTRA_CXXFLAGS is
probably a better candidate.


- FChE

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]