Turn SSP warnings for "dynstr_test.c" off, found by GCC 4.5.
This commit is contained in:
parent
a968e272e0
commit
d43e32f723
@ -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 @@ SRCS.${test}= ${test}.c test_helpers.c
|
||||
.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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user