diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-01-30 03:00:23 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-01-30 03:00:23 +0000 |
commit | 99690f1bad0f1a8621f5bbc706a8ef0ba033ee68 (patch) | |
tree | ae48625d0707214140dde393a9f7d3e73169edbe /subr/rtl.subr | |
parent | 276fbdf5b8dd01c9bde517b35d0d683300fd78a1 (diff) | |
download | midipix_build-99690f1bad0f1a8621f5bbc706a8ef0ba033ee68.tar.bz2 midipix_build-99690f1bad0f1a8621f5bbc706a8ef0ba033ee68.tar.xz |
build/gcc.full.build: fix gcc.{host,stage1}.mingw_w64 build.
patches/gcc.stage1.mingw_w64.local.patch: force libiberty/pex-unix.c when targeting mingw_w64.
subr/build.subr: create ${PREFIX}/man -> share/man symlink as w/ ${PREFIX_NATIVE}.
subr/rtl.subr: obtain target from ${PKG_TARGET} in set_build_dir().
vars/build.vars: adds ${PKG_TARGET} var; reenables gcc.stage1.mingw_w64.
Diffstat (limited to 'subr/rtl.subr')
-rw-r--r-- | subr/rtl.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/rtl.subr b/subr/rtl.subr index d9ea0823..6f15a432 100644 --- a/subr/rtl.subr +++ b/subr/rtl.subr @@ -8,7 +8,7 @@ get_var_unsafe() { eval echo \${${1}}; }; set_var_unsafe() { eval ${1}=\"${2}\"; }; push_IFS() { _pI_IFS="${IFS}"; IFS="${1}"; }; pop_IFS() { IFS="${_pI_IFS}"; unset _pI_IFS; }; -set_build_dir() { PKG_BUILD_DIR=${1}-${2}-${TARGET}; }; +set_build_dir() { PKG_BUILD_DIR=${1}-${2}-${PKG_TARGET}; }; split() { push_IFS "${1}"; set -- ${2}; pop_IFS; echo "${*}"; }; test_cmd() { command -v "${1}" >/dev/null; }; unsplit() { push_IFS "${1}"; shift; set -- "${@}"; echo "${*}"; pop_IFS; }; |