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 /build/gcc.full.build | |
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 'build/gcc.full.build')
-rw-r--r-- | build/gcc.full.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/gcc.full.build b/build/gcc.full.build index 75670fa8..ee597167 100644 --- a/build/gcc.full.build +++ b/build/gcc.full.build @@ -4,6 +4,7 @@ if [ "${3}" = mingw_w64 ]; then TARGET=x86_64-w64-mingw32; + PKG_TARGET=x86_64-w64-mingw32; if [ ! -L ${PREFIX}/${TARGET}/mingw ]; then secure_rm ${PREFIX}/${TARGET}/mingw; ln -sf . ${PREFIX}/${TARGET}/mingw; @@ -128,6 +129,10 @@ else _configure_args="${_configure_args} \ --disable-sjlj-exceptions"; fi; + if [ "${3}" = mingw_w64 ]\ + && [ -r ${MIDIPIX_BUILD_PWD}/patches/${PKG_NAME}.${2}.${3}.local.patch ]; then + patch -b -d ${PKG_SUBDIR} -p1 < ${MIDIPIX_BUILD_PWD}/patches/${PKG_NAME}.${2}.${3}.local.patch; + fi; secure_rm ${PKG_BUILD_DIR}; insecure_mkdir ${PKG_BUILD_DIR}; secure_cd ${PKG_BUILD_DIR}; |