summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-30 03:00:23 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-30 03:00:23 +0000
commit99690f1bad0f1a8621f5bbc706a8ef0ba033ee68 (patch)
treeae48625d0707214140dde393a9f7d3e73169edbe /patches
parent276fbdf5b8dd01c9bde517b35d0d683300fd78a1 (diff)
downloadmidipix_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 'patches')
-rw-r--r--patches/gcc.stage1.mingw_w64.local.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/gcc.stage1.mingw_w64.local.patch b/patches/gcc.stage1.mingw_w64.local.patch
new file mode 100644
index 00000000..ac886cf2
--- /dev/null
+++ b/patches/gcc.stage1.mingw_w64.local.patch
@@ -0,0 +1,11 @@
+--- cbb-gcc-4.6.4/libiberty/configure.ac.orig 2016-12-19 18:27:51.909364800 +0100
++++ cbb-gcc-4.6.4/libiberty/configure.ac 2017-01-30 03:55:45.271150700 +0100
+@@ -683,7 +683,7 @@
+
+ # Figure out which version of pexecute to use.
+ case "${host}" in
+- *-*-mingw* | *-*-winnt*) pexecute=pex-win32 ;;
++ *-*-winnt*) pexecute=pex-win32 ;;
+ *-*-msdosdjgpp*) pexecute=pex-djgpp ;;
+ *-*-msdos*) pexecute=pex-msdos ;;
+ *) pexecute=pex-unix ;;