summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-07 07:48:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-07 07:48:48 +0200
commitf66ee677a516991a44be19c869239f99b2d64285 (patch)
tree8bf8aece31d2fb2452d080e1a2e43db66f1fb972
parent547b849f5d9d30c02b3783d58779acab7c09d8c1 (diff)
only use patch for ARCH == sparc
-rw-r--r--mk/buildhlp.mk4
-rw-r--r--toolchain/gcc/patches/4.8.2/miscompile.sparc (renamed from toolchain/gcc/patches/4.8.2/sparc-miscompile.patch)0
2 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 5ce3ca4a0..c8acd2ae6 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -72,9 +72,9 @@ ifeq ($(strip ${__use_generic_patch_target}),42)
post-patch:
${WRKDIST}/.prepared: ${WRKDIST}/.extract_done
[ ! -d ./patches/${PKG_VERSION} ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches/${PKG_VERSION} \
- '{patch-!(*.orig),*.patch}' $(MAKE_TRACE)
+ '{patch-!(*.orig),*.patch,*.${ARCH}}' $(MAKE_TRACE)
[ ! -d ./patches ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches \
- '{patch-!(*.orig),*.patch}' $(MAKE_TRACE)
+ '{patch-!(*.orig),*.patch,*.${ARCH}}' $(MAKE_TRACE)
[ ! -d ./src ] || (cd src; $(PREVENT_PATCH) cp -Rp . ${WRKDIST}/) \
$(MAKE_TRACE)
@${MAKE} post-patch $(MAKE_TRACE)
diff --git a/toolchain/gcc/patches/4.8.2/sparc-miscompile.patch b/toolchain/gcc/patches/4.8.2/miscompile.sparc
index 4aef2e605..4aef2e605 100644
--- a/toolchain/gcc/patches/4.8.2/sparc-miscompile.patch
+++ b/toolchain/gcc/patches/4.8.2/miscompile.sparc