From 78fcc31d4a8179ca24a8008a1ad1ca6bdb668fdd Mon Sep 17 00:00:00 2001 From: Markus Trippelsdorf Date: Fri, 13 Dec 2013 10:59:42 +0100 Subject: [PATCH] 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 --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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' } -- 2.30.2