[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _AC_PROG_{CC,CXX}_G and unwanted -O2 switch

From: Mike Frysinger
Subject: Re: _AC_PROG_{CC,CXX}_G and unwanted -O2 switch
Date: Fri, 27 Apr 2012 19:20:37 -0400
User-agent: KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; )

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='....'

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]