Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/libgcc/libgcc Fix build with stack sma...



details:   https://anonhg.NetBSD.org/src/rev/798c2d4b080d
branches:  trunk
changeset: 770552:798c2d4b080d
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Oct 22 10:41:50 2011 +0000

description:
Fix build with stack smash protection enabled.

diffstat:

 external/gpl3/gcc/lib/libgcc/libgcc/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 848e2c296e49 -r 798c2d4b080d external/gpl3/gcc/lib/libgcc/libgcc/Makefile
--- a/external/gpl3/gcc/lib/libgcc/libgcc/Makefile      Sat Oct 22 00:05:17 2011 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcc/Makefile      Sat Oct 22 10:41:50 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2011/10/17 14:20:54 chs Exp $
+#      $NetBSD: Makefile,v 1.8 2011/10/22 10:41:50 tron Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -41,6 +41,8 @@
 # the -fpic/-FPIC present in ${G_LIBGCC2_CFLAGS}.
 MKPIC:= no
 
+COPTS.unwind-dw2.c = -Wno-stack-protector
+
 .include <bsd.lib.mk>
 
 



Home | Main Index | Thread Index | Old Index