diff options
author | Mark Allen <[email protected]> | 2017-05-24 01:32:47 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-24 01:32:47 -0500 |
commit | b3f2cba3681f6539685e746b46a634cffbbce54c (patch) | |
tree | 75caa5d924c8d57087b2e49c9f08c296ad641803 /kerl | |
parent | 7efeb2bd4675b6250b4b724beba9ac250fee932c (diff) | |
parent | ce37d87ff1a706e6e3cad1ea06fbcdc8eef3071e (diff) | |
download | kerl-b3f2cba3681f6539685e746b46a634cffbbce54c.tar.gz kerl-b3f2cba3681f6539685e746b46a634cffbbce54c.tar.bz2 kerl-b3f2cba3681f6539685e746b46a634cffbbce54c.zip |
Merge pull request #205 from kerl/force_64_bits_macos
Always turn on 64 bit builds for macOS
Diffstat (limited to 'kerl')
-rwxr-xr-x | kerl | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -543,6 +543,15 @@ _do_build() Darwin) OSVERSION=`uname -r` RELVERSION=`get_otp_version "$1"` + + # Ensure that the --enable-darwin-64bit flag is set on all macOS + # That way even on older Erlangs we get 64 bit Erlang builds + # macOS has been mandatory 64 bit for a while + echo -n $KERL_CONFIGURE_OPTIONS | grep "darwin-64bit" 1>/dev/null 2>&1 + if [ $? -ne 0 ]; then + KERL_CONFIGURE_OPTIONS = "$KERL_CONFIGURE_OPTIONS --enable-darwin-64bit" + fi + case "$OSVERSION" in 16*|15*) echo -n $KERL_CONFIGURE_OPTIONS | grep "ssl" 1>/dev/null 2>&1 |