aboutsummaryrefslogtreecommitdiff
path: root/configure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configure.sh')
-rw-r--r--configure.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh
index 9c0866f..c7f643d 100644
--- a/configure.sh
+++ b/configure.sh
@@ -120,9 +120,9 @@ then
unset options # OpenSSL's 'config' script uses $options itself
# OpenSSL doesn't want to link with -fopenmp (can't pass
# LDFLAGS?), so instead we remove all OpenMP flags
- export CPPFLAGS=$(echo '' $CPPFLAGS | sed -e 's/-fopenmp//')
- export CFLAGS=$(echo '' $CFLAGS | sed -e 's/-fopenmp//')
- export LDFLAGS=$(echo '' $LDFLAGS | sed -e 's/-fopenmp//')
+ export CPPFLAGS=$(echo '' $CPPFLAGS | sed -e 's/-f\?openmp//')
+ export CFLAGS=$(echo '' $CFLAGS | sed -e 's/-f\?openmp//')
+ export LDFLAGS=$(echo '' $LDFLAGS | sed -e 's/-f\?openmp//')
# OpenSSL does not automatically build a 64bit version on 64bit Macs
# setting KERNEL_BITS=64 tells it we want one
if uname -v | grep >/dev/null '^Darwin.*RELEASE_X86_64' ; then