--- Ossama Othman <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've had complaints from users about the fact that my configure script
> adds "-g -O2" to CXXFLAGS by default since they want to compile an
> optimized version of the library without debugging symbols.  I know
> that gcc/g++ can generate debugging symbols for optimized code, but
> that's not the issue.  The issue here is that the user doesn't appear
> to have a choice about the "-g -O2" flags.  Is this correct?  If so,
> why does autoconf add these?  Shouldn't it be up to the package
> maintainer to decide whether these flags get added to the compiler
> flags?
> 

You have the option to change the value like so:

CXXFLAGS="-foo -bar" ../configure

Cheers,

=====
---
   Earnie Boyd: <mailto:[EMAIL PROTECTED]>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Reply via email to