From 96b3097e548d741fe34bc2b54b5f59c725c06cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 7 Feb 2016 16:34:58 +0100 Subject: - Ensure global variable names are consistently capitalised and that no values are inherited when and wherever they should not be. - Remove pointless CFLAGS export in 007.gcc.full.build when doing a runtime or full build. --- 006.musl.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '006.musl.build') diff --git a/006.musl.build b/006.musl.build index 961746b1..6713a1f9 100644 --- a/006.musl.build +++ b/006.musl.build @@ -4,6 +4,7 @@ if is_build_script_done finished; then exit 212; elif [ "x${3}" = "xno-complex" ]; then # Musl: build (no-complex) + unset _destdir; _install=install_no_complex; set_build_dir musl-${PKG_MUSL_VERSION}-${3} cross; fetch http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz \ @@ -21,11 +22,12 @@ elif [ "x${3}" = "xnative" ]; then set_build_dir musl-${PKG_MUSL_VERSION} ${3}; else # Musl: build (full) + unset _destdir; _install=install; set_build_dir musl-${PKG_MUSL_VERSION} cross; fi; if ! is_build_script_done configured; then - rm_if_exists -m -c ${_build_dir}; + rm_if_exists -m -c ${BUILD_DIR}; ../lazy/lazy \ -a ${ARCH} \ -c gcc \ @@ -36,7 +38,7 @@ if ! is_build_script_done configured; then -x config; set_build_script_done configured -built; else - cd ${_build_dir}; + cd ${BUILD_DIR}; fi; if ! is_build_script_done built; then ./lazy -e ${_install} \ -- cgit v1.2.3