mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
configure.ac: Do not strip away space after regex word match.
Fixes: 62c48ccb41 ("configure.ac: Use POSIX compatible regex for word boundary.")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
parent
62c48ccb41
commit
bd6f0dcafc
1 changed files with 3 additions and 3 deletions
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue