summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Obermayr <johannesobermayr@gmx.de>2011-12-19 23:11:46 +0100
committerBrian Paul <brianp@vmware.com>2011-12-26 16:12:10 -0700
commitaa284042a3116224f623ce8ec1680997c6818827 (patch)
treee4871fdd8cfd7bfd2332bffb9eb43d8c7bbd0f7d
parent98dffd9764195be2734579a2b4ae7637b62ea7d8 (diff)
downloadexternal_mesa3d-aa284042a3116224f623ce8ec1680997c6818827.zip
external_mesa3d-aa284042a3116224f623ce8ec1680997c6818827.tar.gz
external_mesa3d-aa284042a3116224f623ce8ec1680997c6818827.tar.bz2
Fix build with LLVM >= r145623.
This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=43861. Actually the issue which makes -pedantic failing should be solved. Reviewed-by: Michel Dänzer <michel@daenzer.net> Signed-off-by: Brian Paul <brianp@vmware.com>
-rw-r--r--configure.ac2
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`