diff options
author | eschnett <eschnett@091d3ff0-52bc-4db5-b7a6-18201e4c0cca> | 2013-08-21 18:01:16 +0000 |
---|---|---|
committer | eschnett <eschnett@091d3ff0-52bc-4db5-b7a6-18201e4c0cca> | 2013-08-21 18:01:16 +0000 |
commit | 970a5f138edf5d3f041d17d7124255f75e8e241f (patch) | |
tree | 734494c4bd4a20d307afbcad0c0b73a7aaf10b56 | |
parent | 7f69f41c4839ac656010d43fb2c22341bb3a24f0 (diff) |
Export some build flags. Do not build shared libraries.
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/OpenSSL/trunk@48 091d3ff0-52bc-4db5-b7a6-18201e4c0cca
-rw-r--r-- | configure.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh index a3174c5..7551d73 100644 --- a/configure.sh +++ b/configure.sh @@ -118,6 +118,11 @@ then unset LIBS unset MAKEFLAGS # For some reason, OpenSSL does not compile with this 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//') echo "OpenSSL: Preparing directory structure..." mkdir build external done 2> /dev/null || true @@ -130,7 +135,7 @@ then echo "OpenSSL: Configuring..." cd ${NAME} - ./config --prefix=${OPENSSL_DIR} + ./config --prefix=${OPENSSL_DIR} no-shared echo "OpenSSL: Building..." ${MAKE} |