[Mesa-dev] [PATCH 2/2] automake: Remove OPT_FLAGS.

Marek Olšák maraeo at gmail.com
Thu Jul 26 16:34:20 PDT 2012


Ah, I see. Thank you for the clarification.

Marek

On Fri, Jul 27, 2012 at 12:29 AM, Eric Anholt <eric at anholt.net> wrote:
> Marek Olšák <maraeo at gmail.com> writes:
>
>> Michel Dänzer told me on IRC that setting CFLAGS overrode all flags,
>> while OPT_FLAGS was only appended to existing CFLAGS, which is the
>> reason I have been using OPT_FLAGS. Is that not true anymore?
>
> By default, configure's CFLAGS and CXXFLAGS are "-g -O2" on gcc and
> "-O2" on non-gcc.  I know of no reason why setting the two to something
> else in the ./configure environment (like I do to add
> -fno-omit-frame-pointer or -m32 on all projects I build) would be
> unsafe.


More information about the mesa-dev mailing list