Module: Mesa Branch: master Commit: 78fcc31d4a8179ca24a8008a1ad1ca6bdb668fdd URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=78fcc31d4a8179ca24a8008a1ad1ca6bdb668fdd
Author: Markus Trippelsdorf <mar...@trippelsdorf.de> Date: Fri Dec 13 10:59:42 2013 +0100 configure.ac: remove -fcolor-diagnostics from LLVM flags When LLVM is build with Clang, "llvm-config --cxxflags" contains the -fcolor-diagnostics flag. It is not recognized by gcc and the build fails. Fix by removing the flag. Signed-off-by: Markus Trippelsdorf <mar...@trippelsdorf.de> Signed-off-by: Brian Paul <bri...@vmware.com> --- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 6481627..b0e2b4c 100644 --- a/configure.ac +++ b/configure.ac @@ -1546,6 +1546,7 @@ strip_unwanted_llvm_flags() { -e 's/-O.\>//g' \ -e 's/-g\>//g' \ -e 's/-Wall\>//g' \ + -e 's/-fcolor-diagnostics\>//g' \ -e 's/-fomit-frame-pointer\>//g' } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit