summaryrefslogtreecommitdiff
path: root/old-configure.in
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-05-04 17:28:00 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-05-04 17:28:00 +0300
commit69a857e796ae9aeb3bbc0e6ae30be29d8b2c0806 (patch)
tree036a8f5746f29e33e8897e2e5590de6903be2920 /old-configure.in
parent52ca144ff3c40f553c638c288b0b6b03144f1a49 (diff)
downloaduxp-69a857e796ae9aeb3bbc0e6ae30be29d8b2c0806.tar.gz
Fix regex escaping in old-configure and js/src/old-configure
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index cc49c3fcea..731509c466 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -1030,12 +1030,14 @@ case "$target" in
dnl VS2012+ defaults to -arch:SSE2. We want to target nothing
dnl more recent, so set that explicitly here unless another
dnl target arch has already been set.
+ changequote(,)
if test -z `echo $CFLAGS | grep -i [-/]arch:`; then
CFLAGS="$CFLAGS -arch:SSE2"
fi
if test -z `echo $CXXFLAGS | grep -i [-/]arch:`; then
CXXFLAGS="$CXXFLAGS -arch:SSE2"
fi
+ changequote([,])
SSE_FLAGS="-arch:SSE"
SSE2_FLAGS="-arch:SSE2"
dnl MSVC allows the use of intrinsics without any flags