summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-11-19 14:40:16 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-11-19 14:40:34 +0100
commit5075159e68f93318fac08601d175c7ca2e0766ef (patch)
tree1021c02018fb23e01dcf5f8b6a319672cd6cc7ff /sys-devel/gcc/gcc-4.9.4.ebuild
parentnet-im/signal-desktop-bin: Initial addition (diff)
downloadgentoo-5075159e68f93318fac08601d175c7ca2e0766ef.tar.gz
gentoo-5075159e68f93318fac08601d175c7ca2e0766ef.tar.bz2
gentoo-5075159e68f93318fac08601d175c7ca2e0766ef.zip
sys-devel/gcc: Fix build of gcc-4.9.4 by gcc-6.4.0, bug 638056
Solution found by Zorry Closes: https://bugs.gentoo.org/638056 Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'sys-devel/gcc/gcc-4.9.4.ebuild')
-rw-r--r--sys-devel/gcc/gcc-4.9.4.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-4.9.4.ebuild b/sys-devel/gcc/gcc-4.9.4.ebuild
index e7562f2330ad..44597c4ceecb 100644
--- a/sys-devel/gcc/gcc-4.9.4.ebuild
+++ b/sys-devel/gcc/gcc-4.9.4.ebuild
@@ -39,9 +39,12 @@ src_prepare() {
EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
fi
+ # Bug 638056
+ epatch "${FILESDIR}/${P}-bootstrap.patch"
+
toolchain_src_prepare
use vanilla && return 0
- #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
+ # Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs.
[[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch
}