mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 19:00:13 +01:00
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 <markus@trippelsdorf.de> Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
00cf048b12
commit
78fcc31d4a
1 changed files with 1 additions and 0 deletions
|
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue