[Top][All Lists]

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

Re: Override default CXXFLAGS

From: Sergio Belkin
Subject: Re: Override default CXXFLAGS
Date: Fri, 21 Jan 2011 23:50:30 -0300

I answer myself: RTMF :)

"If using the GNU C compiler, set shell variable GCC to ‘yes’. If
output variable CFLAGS was not already set, set it to -g -O2 for the
GNU C compiler (-O2 on systems where GCC does not accept -g), or -g
for other compilers. If your package does not like this default, then
it is acceptable to insert the line ‘: ${CFLAGS=""}’ after AC_INIT and
before AC_PROG_CC to select an empty default instead. "


2011/1/21 Sergio Belkin <address@hidden>:
> Hi,
> Let's say we'd want to compile with CXXFLAGS=-O3. The problem is that
> is set in some way as -O2. I've overriden CXXFLAGS on
> setting:
> But I wonder if that is the proper way of do it!
> I'm using Fedora 14.
> Any idea?
> Thanks in advance!
> --
> --
> Sergio Belkin
> Watch More TV
> LPIC-2 Certified

Sergio Belkin
Watch More TV
LPIC-2 Certified

reply via email to

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