diff options
author | Bradley Sepos <[email protected]> | 2017-12-28 16:06:53 -0500 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-01-10 01:39:55 -0500 |
commit | 00da2c7ef77da4c65c764113d4b6cfda281736d3 (patch) | |
tree | cd550fd148ec0f652cd3a114a794595b32ca5889 | |
parent | a230d06074defae003bf68df419907d08c64a16b (diff) |
scripts: Enable sections and lto for nasm.
Pass a couple standard variables since make sometimes makes zero sense.
-rwxr-xr-x | scripts/mac-toolchain-build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mac-toolchain-build b/scripts/mac-toolchain-build index 603e088d7..b4f7a3eda 100755 --- a/scripts/mac-toolchain-build +++ b/scripts/mac-toolchain-build @@ -134,9 +134,9 @@ printf "Building [%02i/%02i] %s" "6" "${TOTAL}" "nasm 2.13.02" [[ "${SUDO}" != "" ]] && ${SUDO} -v tar -xf nasm-2.13.02.tar.bz2 >/dev/null 2>&1 || print_fail_and_exit cd nasm-2.13.02 >/dev/null 2>&1 || print_fail_and_exit -./configure --prefix="${PREFIX}" >../nasm-2.13.02.log 2>&1 || print_fail_and_exit -make --jobs="${MAKEJOBS}" >../nasm-2.13.02.log 2>&1 || print_fail_and_exit -${SUDO} make install >../nasm-2.13.02.log 2>&1 || print_fail_and_exit +./configure --prefix="${PREFIX}" --enable-sections --enable-lto >../nasm-2.13.02.log 2>&1 || print_fail_and_exit +make --jobs="${MAKEJOBS}" AR=ar RANLIB=ranlib >>../nasm-2.13.02.log 2>&1 || print_fail_and_exit +${SUDO} make install >>../nasm-2.13.02.log 2>&1 || print_fail_and_exit echo -en "${CREL}" # yasm |