diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mac-toolchain-build | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/scripts/mac-toolchain-build b/scripts/mac-toolchain-build index c1f4ec995..56120629c 100755 --- a/scripts/mac-toolchain-build +++ b/scripts/mac-toolchain-build @@ -34,7 +34,7 @@ function mac_toolchain_build { MAKEJOBS="4" fi SUDO= - TOTAL=7 + TOTAL=6 # functions function print_fail_and_exit { @@ -89,9 +89,6 @@ function mac_toolchain_build { printf "Downloading [%02i/%02i] %s " "6" "${TOTAL}" "nasm 2.13.02" curl -Lf --connect-timeout 30 https://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 -o "nasm-2.13.02.tar.bz2" >/dev/null 2>&1 || print_fail_and_exit echo -en "${CREL}" - printf "Downloading [%02i/%02i] %s " "7" "${TOTAL}" "yasm 1.3.0" - curl -Lf --connect-timeout 30 https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz -o "yasm-1.3.0.tar.gz" >/dev/null 2>&1 || print_fail_and_exit - echo -en "${CREL}" printf "Downloading [%02i/%02i] complete.\n" "${TOTAL}" "${TOTAL}" # autoconf @@ -160,17 +157,6 @@ function mac_toolchain_build { ${SUDO} make install >>../nasm-2.13.02.log 2>&1 || print_fail_and_exit echo -en "${CREL}" - # yasm - cd "${TEMP_DIR}" - printf "Building [%02i/%02i] %s " "7" "${TOTAL}" "yasm 1.3.0" - [[ "${SUDO}" != "" ]] && ${SUDO} -v - tar -xf yasm-1.3.0.tar.gz >/dev/null 2>&1 || print_fail_and_exit - cd yasm-1.3.0 >/dev/null 2>&1 || print_fail_and_exit - ./configure --prefix="${PREFIX}" >../yasm-1.3.0.log 2>&1 || print_fail_and_exit - make --jobs="${MAKEJOBS}" >>../yasm-1.3.0.log 2>&1 || print_fail_and_exit - ${SUDO} make install >>../yasm-1.3.0.log 2>&1 || print_fail_and_exit - echo -en "${CREL}" - # done printf "Building [%02i/%02i] complete.\n" "${TOTAL}" "${TOTAL}" rm -rf "${TEMP_DIR}" |