From: Markus Trippelsdorf Date: Fri, 13 Dec 2013 09:59:42 +0000 (+0100) Subject: configure.ac: remove -fcolor-diagnostics from LLVM flags X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78fcc31d4a8179ca24a8008a1ad1ca6bdb668fdd;p=mesa.git 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 Signed-off-by: Brian Paul --- diff --git a/configure.ac b/configure.ac index 64816271e1f..b0e2b4c3844 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' }