--- configure.ac | 6 ++++++ 1 Datei geändert, 6 Zeilen hinzugefügt(+)
diff --git a/configure.ac b/configure.ac index 5bbcf05..3893570 100644 --- a/configure.ac +++ b/configure.ac @@ -1994,6 +1994,12 @@ dnl Restore LDFLAGS and CPPFLAGS LDFLAGS="$_SAVE_LDFLAGS" CPPFLAGS="$_SAVE_CPPFLAGS" +dnl Clang should warn only about unused CFLAGS and CXXFLAGS on debug builds +if test "x$acv_mesa_CLANG" = xyes && test "x$enable_debug" = xno; then + CFLAGS="$CFLAGS -Qunused-arguments" + CXXFLAGS="$CXXFLAGS -Qunused-arguments" +fi + dnl Add user CFLAGS and CXXFLAGS cflags="$CFLAGS" cxxflags="$CXXFLAGS" -- 1.7.10.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev