Module Name:    src
Committed By:   plunky
Date:           Sun Jun 12 19:22:02 UTC 2011

Modified Files:
        src/tests/lib/libc/ssp: Makefile

Log Message:
don't pass -fstack-protector for these, the tests are actually for the
__*_chk functions included by -D_FORTIFY_SOURCE=2, and if the compiler
provides additional protection, it can mask broken functions..

(none of the _chk functions will return or process any data if
the length given is known to be larger than the buffer)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/ssp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/ssp/Makefile
diff -u src/tests/lib/libc/ssp/Makefile:1.2 src/tests/lib/libc/ssp/Makefile:1.3
--- src/tests/lib/libc/ssp/Makefile:1.2	Sat Feb 26 02:41:33 2011
+++ src/tests/lib/libc/ssp/Makefile	Sun Jun 12 19:22:01 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/02/26 02:41:33 pgoyette Exp $
+# $NetBSD: Makefile,v 1.3 2011/06/12 19:22:01 plunky Exp $
 
 NOMAN=		# defined
 
@@ -7,8 +7,6 @@
 WARNS=	4
 
 CPPFLAGS+=	-D_FORTIFY_SOURCE=2
-CFLAGS+=	-fstack-protector-all -Wstack-protector
-LDFLAGS+=	-fstack-protector-all -Wstack-protector
 
 # Bootstrap hack
 

Reply via email to