[Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

Dave Airlie airlied at gmail.com
Mon Nov 19 12:41:22 PST 2012


> $ llvm-config --cxxflags
>
> -I/usr/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC
> -fvisibility-inlines-hidden -O2 -g -D_GNU_SOURCE -Wall -W
> -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS

And this is why we don't include LLVM CXX flags :-)

notice the -g -O2 -Wall bits? not something that pkg-config wants in its flags.

Dave.


More information about the mesa-dev mailing list