summaryrefslogtreecommitdiff
path: root/lang/gcc46
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2014-09-02 09:57:39 +0000
committerpho <pho@pkgsrc.org>2014-09-02 09:57:39 +0000
commit359023e5ed60aace193011143582b580cd4232d1 (patch)
tree76c37ade0cc4160ce9f301442fa94a9b07672450 /lang/gcc46
parentebbd52120fdc7d47f2b67a4615587ff92d2a83a5 (diff)
downloadpkgsrc-359023e5ed60aace193011143582b580cd4232d1.tar.gz
PR pkg/48740 - Fix build issues on Darwin < 9 and possibly other platforms
patches/patch-gcc_common.opt had a hunk that makes -fstack-protector enabled by default (without any comments) but it causes a bootstrapping problem on platforms whose libc don't provide functions for ssp.
Diffstat (limited to 'lang/gcc46')
-rw-r--r--lang/gcc46/patches/patch-gcc_common.opt11
1 files changed, 1 insertions, 10 deletions
diff --git a/lang/gcc46/patches/patch-gcc_common.opt b/lang/gcc46/patches/patch-gcc_common.opt
index 528e52293c5..26d50aaafe7 100644
--- a/lang/gcc46/patches/patch-gcc_common.opt
+++ b/lang/gcc46/patches/patch-gcc_common.opt
@@ -1,4 +1,4 @@
-$NetBSD: patch-gcc_common.opt,v 1.1 2014/01/25 13:38:48 ryoon Exp $
+$NetBSD: patch-gcc_common.opt,v 1.2 2014/09/02 09:57:39 pho Exp $
--- gcc/common.opt.orig 2013-01-14 16:35:23.000000000 +0000
+++ gcc/common.opt
@@ -60,12 +60,3 @@ $NetBSD: patch-gcc_common.opt,v 1.1 2014/01/25 13:38:48 ryoon Exp $
Generate position-independent code for executables if possible (large mode)
fpic
-@@ -1782,7 +1790,7 @@ Common RejectNegative Joined Var(common_
- -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
-
- fstack-protector
--Common Report Var(flag_stack_protect, 1)
-+Common Report Var(flag_stack_protect, 1) Init(-1)
- Use propolice as a stack protection method
-
- fstack-protector-all