diff options
author | Vinson Lee <[email protected]> | 2017-03-22 00:27:15 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-03-22 00:30:22 -0700 |
commit | bd6f0dcafce73b1c7332a1c51f6862470fe2c2a0 (patch) | |
tree | cdae598694a5dbeccccbab34c0ed989a9072b4dd /configure.ac | |
parent | 62c48ccb413bbb0d3d305966514b7783640eaf89 (diff) |
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 <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index dbf0bf83185..ab9a91ed17b 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' \ |