projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bbcc43
)
Suppress clang's warnings about unused CFLAGS and CXXFLAGS.
author
Johannes Obermayr
<johannesobermayr@gmx.de>
Wed, 11 Sep 2013 22:32:40 +0000
(
00:32
+0200)
committer
Eric Anholt
<eric@anholt.net>
Sun, 22 Sep 2013 20:10:43 +0000
(13:10 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index ca9228cf994123036a02aca2a4824e9550c2567e..d280e389a6275b523529a2943be29dc7846aa0ba 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1969,6
+1969,12
@@
dnl Restore LDFLAGS and CPPFLAGS
LDFLAGS="$_SAVE_LDFLAGS"
CPPFLAGS="$_SAVE_CPPFLAGS"
+dnl Suppress clang's warnings about unused CFLAGS and CXXFLAGS
+if test "x$acv_mesa_CLANG" = xyes; then
+ CFLAGS="$CFLAGS -Qunused-arguments"
+ CXXFLAGS="$CXXFLAGS -Qunused-arguments"
+fi
+
dnl Add user CFLAGS and CXXFLAGS
CFLAGS="$CFLAGS $USER_CFLAGS"
CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS"