summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBruno JimĂ©nez <[email protected]>2014-03-02 22:39:01 +0100
committerFrancisco Jerez <[email protected]>2014-03-03 17:16:52 +0100
commit089d0660c7d80dd4aed1ea0ab8b8ff9390f6bc3a (patch)
tree2414c7fe68a806a4169c1ad9656c0287b6bc9f98 /configure.ac
parent8a8dd86edc5caf942cd98534763a455f987ea520 (diff)
configure: Remove more flags from llvm-config
This way, we are left with only the preprocessor flags and '-std=X' Reviewed-by: Francisco Jerez <[email protected]> Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 853b93a6427..bf288c51bea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1549,8 +1549,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'
}