Module Name: src
Committed By: tron
Date: Sat Oct 22 10:41:50 UTC 2011
Modified Files:
src/external/gpl3/gcc/lib/libgcc/libgcc: Makefile
Log Message:
Fix build with stack smash protection enabled.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile
diff -u src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile:1.7 src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile:1.8
--- src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile:1.7 Mon Oct 17 14:20:54 2011
+++ src/external/gpl3/gcc/lib/libgcc/libgcc/Makefile Sat Oct 22 10:41:50 2011
@@ -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 @@ BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/confi
# the -fpic/-FPIC present in ${G_LIBGCC2_CFLAGS}.
MKPIC:= no
+COPTS.unwind-dw2.c = -Wno-stack-protector
+
.include <bsd.lib.mk>