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: enabling -O2 with gcc 2.96 and later




> Sorry to jump in again, but optimization would still be nice to
> include in the "CXXFLAGS" set, not the AM_CXXFLAGS where it's out of
> the user's hands.  Please consider instead:
> 
> CXXFLAGS = -g @OPTLEVEL@
> AM_CXXFLAGS = -D_GNU_SOURCE -fno-implicit-templates \
>   	      -Wall -Wno-format -W -Wwrite-strings -Winline $(WERROR) \
>   	      $(OTHER_CXXFLAGS)

I think Frank's right on this one Phil. (Thanks again Frank)

-benjamin


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