diff options
author | Mark Allen <[email protected]> | 2017-05-23 15:46:39 -0500 |
---|---|---|
committer | Mark Allen <[email protected]> | 2017-05-23 15:46:39 -0500 |
commit | ce37d87ff1a706e6e3cad1ea06fbcdc8eef3071e (patch) | |
tree | d0ad9c09ef63e9da7ddc0dadd23e45e70f1544ca | |
parent | 8408c54117dc003486eea1999e57d535dc2c4b2c (diff) | |
download | kerl-ce37d87ff1a706e6e3cad1ea06fbcdc8eef3071e.tar.gz kerl-ce37d87ff1a706e6e3cad1ea06fbcdc8eef3071e.tar.bz2 kerl-ce37d87ff1a706e6e3cad1ea06fbcdc8eef3071e.zip |
Always turn on 64 bit builds for macOSforce_64_bits_macos
-rwxr-xr-x | kerl | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -542,6 +542,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 |