Module Name:    src
Committed By:   tron
Date:           Mon Jul 18 19:30:49 UTC 2011

Modified Files:
        src/external/bsd/atf/tests/atf/atf-c/detail: Makefile

Log Message:
Turn SSP warnings for "dynstr_test.c" off, found GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/atf/tests/atf/atf-c/detail/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/bsd/atf/tests/atf/atf-c/detail/Makefile
diff -u src/external/bsd/atf/tests/atf/atf-c/detail/Makefile:1.1 src/external/bsd/atf/tests/atf/atf-c/detail/Makefile:1.2
--- src/external/bsd/atf/tests/atf/atf-c/detail/Makefile:1.1	Wed Oct 20 09:20:11 2010
+++ src/external/bsd/atf/tests/atf/atf-c/detail/Makefile	Mon Jul 18 19:30:49 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2010/10/20 09:20:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2011/07/18 19:30:49 tron Exp $
 
 .include <bsd.own.mk>
 
@@ -32,4 +32,10 @@
 .endfor
 .undef test
 
+# Don't warn about functions which cannot be stack smash protected as
+# there are a lot of them.
+.if defined(HAVE_GCC) || defined(HAVE_PCC)
+COPTS.dynstr_test.c=	-Wno-stack-protector
+.endif
+
 .include <bsd.test.mk>

Reply via email to