diff options
author | rhaas <rhaas@091d3ff0-52bc-4db5-b7a6-18201e4c0cca> | 2013-12-26 03:10:55 +0000 |
---|---|---|
committer | rhaas <rhaas@091d3ff0-52bc-4db5-b7a6-18201e4c0cca> | 2013-12-26 03:10:55 +0000 |
commit | 407f3bb4d2e0fd86eef0a25c0e44c7874b1a3d50 (patch) | |
tree | 68238d1636644764f5cea7a78684dbcb76975a50 /configure.sh | |
parent | 663c513bf5d555398c1894d6484dd8fccaf04703 (diff) |
ensure that 64bit version is build on OSX with 64bit kernel
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/OpenSSL/trunk@51 091d3ff0-52bc-4db5-b7a6-18201e4c0cca
Diffstat (limited to 'configure.sh')
-rw-r--r-- | configure.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.sh b/configure.sh index 71c47d8..44afe2d 100644 --- a/configure.sh +++ b/configure.sh @@ -123,6 +123,11 @@ then export CPPFLAGS=$(echo '' $CPPFLAGS | sed -e 's/-fopenmp//') export CFLAGS=$(echo '' $CFLAGS | sed -e 's/-fopenmp//') export LDFLAGS=$(echo '' $LDFLAGS | sed -e 's/-fopenmp//') + # 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 + export KERNEL_BITS=64 + fi echo "OpenSSL: Preparing directory structure..." mkdir build external done 2> /dev/null || true |