projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure.ac: strip out the llvm-config -march/mtune flags
[mesa.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 33d1fefc5433499cbd9ba3a3cf1a055fc3536105..c492e158f7659aaaa6f60375eff0c7a95deab366 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2102,6
+2102,9
@@
AC_ARG_WITH([llvm-prefix],
strip_unwanted_llvm_flags() {
# Use \> (marks the end of the word)
echo `$1` | sed \
+ -e 's/-march=\S*//g' \
+ -e 's/-mtune=\S*//g' \
+ -e 's/-mcpu=\S*//g' \
-e 's/-DNDEBUG\>//g' \
-e 's/-D_GNU_SOURCE\>//g' \
-e 's/-pedantic\>//g' \