Mesa (master): configure.ac: Do not strip away space after regex word match.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Mar 22 07:32:13 UTC 2017
Module: Mesa
Branch: master
Commit: bd6f0dcafce73b1c7332a1c51f6862470fe2c2a0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd6f0dcafce73b1c7332a1c51f6862470fe2c2a0
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed Mar 22 00:27:15 2017 -0700
configure.ac: Do not strip away space after regex word match.
Fixes: 62c48ccb413b ("configure.ac: Use POSIX compatible regex for word boundary.")
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index dbf0bf8318..ab9a91ed17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -909,9 +909,9 @@ llvm_add_target() {
strip_unwanted_llvm_flags() {
echo " `$1` " | sed -E \
-e 's/[[[:space:]]]+-m[[^[:space:]]]*//g' \
- -e 's/[[[:space:]]]+-DNDEBUG[[[:space:]]]//g' \
- -e 's/[[[:space:]]]+-D_GNU_SOURCE[[[:space:]]]//g' \
- -e 's/[[[:space:]]]+-pedantic[[[:space:]]]//g' \
+ -e 's/[[[:space:]]]+-DNDEBUG[[[:space:]]]/ /g' \
+ -e 's/[[[:space:]]]+-D_GNU_SOURCE[[[:space:]]]/ /g' \
+ -e 's/[[[:space:]]]+-pedantic[[[:space:]]]/ /g' \
-e 's/[[[:space:]]]+-W[[^[:space:]]]*//g' \
-e 's/[[[:space:]]]+-O[[^[:space:]]]*//g' \
-e 's/[[[:space:]]]+-g[[^[:space:]]]*//g' \
More information about the mesa-commit
mailing list