diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-07 16:34:58 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-07 16:34:58 +0100 |
commit | 96b3097e548d741fe34bc2b54b5f59c725c06cec (patch) | |
tree | b52ebabf5dfdd62c0c4b1e88bed4b3f3566de179 /006.musl.build | |
parent | 680d83f768298ed0fcabd553f5d48ee8facf203b (diff) | |
download | midipix_build-96b3097e548d741fe34bc2b54b5f59c725c06cec.tar.bz2 midipix_build-96b3097e548d741fe34bc2b54b5f59c725c06cec.tar.xz |
- 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.
Diffstat (limited to '006.musl.build')
-rw-r--r-- | 006.musl.build | 6 |
1 files changed, 4 insertions, 2 deletions
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} \ |