From 359023e5ed60aace193011143582b580cd4232d1 Mon Sep 17 00:00:00 2001 From: pho Date: Tue, 2 Sep 2014 09:57:39 +0000 Subject: 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. --- lang/gcc46/patches/patch-gcc_common.opt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'lang/gcc46') 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= Trap if the stack goes past symbol - - 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 -- cgit v1.2.3