summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc/gcc-4.6.1-r1.ebuild')
-rw-r--r--sys-devel/gcc/gcc-4.6.1-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-4.6.1-r1.ebuild b/sys-devel/gcc/gcc-4.6.1-r1.ebuild
index d2638a3..74e0b55 100644
--- a/sys-devel/gcc/gcc-4.6.1-r1.ebuild
+++ b/sys-devel/gcc/gcc-4.6.1-r1.ebuild
@@ -23,7 +23,8 @@ src_prepare() {
if has_version '<sys-libs/glibc-2.12' ; then
ewarn "Your host glibc is too old; disabling automatic fortify."
ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
- EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
+
+ rm "${WORKDIR}"/patch/10_all_default-fortify-source.patch || die
fi
toolchain-legacy_src_prepare