[Mesa-dev] [PATCH 1/2] configure: Remove more flags from llvm-config
Bruno Jiménez
brunojimen at gmail.com
Sun Mar 2 13:39:01 PST 2014
This way, we are left with only the preprocessor flags and '-std=X'
---
configure.ac | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5b86141..2378d00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1542,8 +1542,15 @@ strip_unwanted_llvm_flags() {
-e 's/-O.\>//g' \
-e 's/-g\>//g' \
-e 's/-Wall\>//g' \
+ -e 's/-Wcast-qual\>//g' \
+ -e 's/-Woverloaded-virtual\>//g' \
-e 's/-fcolor-diagnostics\>//g' \
- -e 's/-fomit-frame-pointer\>//g'
+ -e 's/-fdata-sections\>//g' \
+ -e 's/-ffunction-sections\>//g' \
+ -e 's/-fno-exceptions\>//g' \
+ -e 's/-fomit-frame-pointer\>//g' \
+ -e 's/-fvisibility-inlines-hidden\>//g' \
+ -e 's/-fPIC\>//g'
}
--
1.9.0
More information about the mesa-dev
mailing list