diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-09-11 22:01:56 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-09-11 23:17:03 +0000 |
commit | 7a180c32c293e0e4d91fae0580aaea4cd5b5ad97 (patch) | |
tree | f83f499b09a6a00f0194da34ad9870bd3636c282 /build.sh | |
parent | f41d1e587349e105b1ec32b2a461a0f000eb2676 (diff) | |
download | midipix_build-7a180c32c293e0e4d91fae0580aaea4cd5b5ad97.tar.bz2 midipix_build-7a180c32c293e0e4d91fae0580aaea4cd5b5ad97.tar.xz |
Strip binaries in ${PREFIX_NATIVE}/bin in release builds.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -158,6 +158,9 @@ for BUILD_LVL in 0 1 2 3 9; do export PKG_TARGET=${TARGET}; \ export PKG_PREFIX=$(get_vars_unsafe PKG_LVL${BUILD_LVL}_PREFIX \ PKG_$(echo ${2} | tr a-z A-Z)_PREFIX); \ + if [ ${BUILD_LVL} -eq 9 ]; then + export PREFIX PREFIX_CROSS PREFIX_MIDIPIX PREFIX_NATIVE PREFIX_ROOT; + fi; export MIDIPIX_BUILD_PWD=$(pwd); cd ${WORKDIR}; \ for SCRIPT_SOURCE in build.subr ${SCRIPT_NAME}.vars \ ${BUILD_SCRIPT_FNAME}; do \ |