From: Bruno Jiménez Date: Sun, 2 Mar 2014 21:39:01 +0000 (+0100) Subject: configure: Remove more flags from llvm-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=089d0660c7d80dd4aed1ea0ab8b8ff9390f6bc3a;p=mesa.git configure: Remove more flags from llvm-config This way, we are left with only the preprocessor flags and '-std=X' Reviewed-by: Francisco Jerez Reviewed-by: Tom Stellard --- 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' }