mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
configure: Remove more flags from llvm-config
This way, we are left with only the preprocessor flags and '-std=X' Reviewed-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
8a8dd86edc
commit
089d0660c7
1 changed files with 8 additions and 1 deletions
|
|
@ -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'
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue