diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-07-09 14:36:05 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-07-10 00:20:56 +0000 |
commit | 820be1bcb38273c0c7adc44b4a474c08273cdf61 (patch) | |
tree | 67e51517dce50e2877dc6c2c97969e8252dcfb3e /007.musl.full.build | |
parent | 4a634b84e63be8b31852c58b25017a61a4f523c7 (diff) | |
download | midipix_build-820be1bcb38273c0c7adc44b4a474c08273cdf61.tar.bz2 midipix_build-820be1bcb38273c0c7adc44b4a474c08273cdf61.tar.xz |
General cleanup; user-visible changes: -a nt{32,64}, -b {debug,release}.
Diffstat (limited to '007.musl.full.build')
-rw-r--r-- | 007.musl.full.build | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/007.musl.full.build b/007.musl.full.build index b18f91e0..1ef04172 100644 --- a/007.musl.full.build +++ b/007.musl.full.build @@ -1,5 +1,5 @@ # -# . ./build.vars and set -o errexit are assumed. +# . ./build.vars and set -o errexit -o noglob are assumed. # # Order: no-complex, native @@ -13,15 +13,14 @@ if [ "${3}" = no-complex ]; then if ! is_build_script_done fetch; then fetch http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz \ ${PKG_MUSL_SHA256SUM}; - [ ${ARG_NO_DOWNLOAD:-0} -eq 0 ] &&\ - rm_if_exists mmglue; + rm_if_exists mmglue; fetch_git mmglue ${GITROOT}/mmglue; set_build_script_done fetch -extract; fi; if ! is_build_script_done extract; then rm_if_exists musl-${PKG_MUSL_VERSION}; - tar -xf musl-${PKG_MUSL_VERSION}.tar.gz; - cp -R mmglue/* musl-${PKG_MUSL_VERSION}/; + tar -xf ${DLCACHEDIR}/musl-${PKG_MUSL_VERSION}.tar.gz; + set +o noglob; cp -R -- mmglue/* musl-${PKG_MUSL_VERSION}/; set -o noglob; set_build_script_done extract -patch; fi; if ! is_build_script_done patch; then @@ -45,7 +44,7 @@ if ! is_build_script_done configure; then ../lazy/lazy \ -a ${ARCH} \ -c gcc \ - -f ${PREFIX_LVL} \ + -f ${PKG_PREFIX} \ -n musl \ -p ../musl-${PKG_MUSL_VERSION} \ -t ${lz_target} \ @@ -62,7 +61,7 @@ if ! is_build_script_done build; then ./lazy -e ${_install} \ -x build; [ "${3}" = native ] && \ - ln -sf ../lib/libc.so ${PREFIX_LVL}/bin/ldd; + ln -sf -- ../lib/libc.so ${PKG_PREFIX}/bin/ldd; set_build_script_done build finish; fi; |