[Mesa-dev] [PATCH] automake: add ARCH_FLAGS, OPT_FLAGS, PIC_FLAGS into AM_CFLAGS and AM_CXXFLAGS

Marek Olšák maraeo at gmail.com
Sat Jul 21 16:19:52 PDT 2012


On Sat, Jul 21, 2012 at 9:40 PM, Eric Anholt <eric at anholt.net> wrote:
> Marek Olšák <maraeo at gmail.com> writes:
>
>> This fixes a build system regression after Makefile conversions
>> to automake.
>>
>> I need only OPT_FLAGS to set -fno-omit-frame-pointer.
>> ARCH_FLAGS is for --enable-32-bit.
>> I am not sure what PIC_FLAGS is good for, but r600g uses it.
>>
>> VISIBILITY_CFLAGS might be missing too.
>
> Seems like we should be stuffing a bunch of these things in DEFINES or
> something else more global.

I get your idea, but I am not sure what to change and where.
Build-system hacking is not my specialty.

Marek


More information about the mesa-dev mailing list