On Friday 27 April 2012 19:05:22 Václav Zeman wrote:
> I have just noticed that _AC_PROG_CC_G and _AC_PROG_CXX_G keeps adding
> -O2 switch to command line. This is really a huge problem for me. How am
> I supposed to compile log4cplus with GCC without optimization and with
> debugging information at the same time to be able to actually do some
> debugging? The offending piece of code (Autoconf GIT):

those only set CFLAGS/etc... if you don't specify them yourself.  so just 
declare the flags you want yourself:
        ./configure CXXFLAGS='....'
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to