[Mesa-dev] [PATCH] Fix build with LLVM >= r145623.

Brian Paul brian.e.paul at gmail.com
Mon Dec 26 15:13:32 PST 2011


2011/12/26 Johannes Obermayr <johannesobermayr at gmx.de>:
> Am Dienstag, 20. Dezember 2011, 11:11:25 schrieb Michel =?ISO-8859-1?Q?D=E4nzer?=:
>> On Mon, 2011-12-19 at 23:11 +0100, Johannes Obermayr wrote:
>> > This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=43861.
>> >
>> > Actually the issue which makes -pedantic failing should be solved.
>>
>> Maybe it should, but that's not for LLVM to enforce on its users.
>>
>>
>> > ---
>> >  configure.ac |    2 +-
>> >  1 files changed, 1 insertions(+), 1 deletions(-)
>> >
>> > diff --git a/configure.ac b/configure.ac
>> > index a4943e1..8e809b9 100644
>> > --- a/configure.ac
>> > +++ b/configure.ac
>> > @@ -1753,7 +1753,7 @@ if test "x$enable_gallium_llvm" = xyes; then
>> >
>> >      if test "x$LLVM_CONFIG" != xno; then
>> >     LLVM_VERSION=`$LLVM_CONFIG --version`
>> > -   LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed 's/-DNDEBUG\>//g'`
>> > +   LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'`
>> >     LLVM_LIBS="`$LLVM_CONFIG --libs`"
>> >
>> >     LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
>>
>> Might want to update configs/linux-llvm as well, but otherwise
>>
>> Reviewed-by: Michel Dänzer <michel at daenzer.net>
>>
>>
>>
>
> Will it become pushed?

Pushed.  Thanks.

-Brian


More information about the mesa-dev mailing list