From 00da2c7ef77da4c65c764113d4b6cfda281736d3 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Thu, 28 Dec 2017 16:06:53 -0500 Subject: scripts: Enable sections and lto for nasm. Pass a couple standard variables since make sometimes makes zero sense. --- scripts/mac-toolchain-build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/mac-toolchain-build') 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 -- cgit v1.2.3