Mesa (master): Filter out -Wcovered-switch-default from LLVM_CFLAGS

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon May 21 07:38:43 UTC 2012


Module: Mesa
Branch: master
Commit: 3d2bf91cc15885d93412a075ab575b607da55814
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d2bf91cc15885d93412a075ab575b607da55814

Author: ojab <ojab at ojab.ru>
Date:   Sun May 13 14:56:00 2012 +0400

Filter out -Wcovered-switch-default from LLVM_CFLAGS

Signed-off-by: José Fonseca <jfonseca at vmware.com>

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 844990a..3bb51a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1830,7 +1830,7 @@ if test "x$enable_gallium_llvm" = xyes; then
 
     if test "x$LLVM_CONFIG" != xno; then
 	LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'`
-	LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'`
+	LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g' -e 's/-Wcovered-switch-default//g'`
 	if test "x$with_llvm_shared_libs" = xyes; then
 	    dnl We can't use $LLVM_VERSION because it has 'svn' stripped out,
 	    LLVM_LIBS="-lLLVM-`$LLVM_CONFIG --version`"




More information about the mesa-commit mailing list