Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libexecinfo Fix build with stack-protection enabled.



details:   https://anonhg.NetBSD.org/src/rev/1874e9d90e8e
branches:  trunk
changeset: 788815:1874e9d90e8e
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Jul 21 15:29:04 2013 +0000

description:
Fix build with stack-protection enabled.

diffstat:

 tests/lib/libexecinfo/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r cdb3db65c85a -r 1874e9d90e8e tests/lib/libexecinfo/Makefile
--- a/tests/lib/libexecinfo/Makefile    Sun Jul 21 10:14:55 2013 +0000
+++ b/tests/lib/libexecinfo/Makefile    Sun Jul 21 15:29:04 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2013/07/04 23:53:13 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2013/07/21 15:29:04 tron Exp $
 
 .include <bsd.own.mk>
 
@@ -9,4 +9,6 @@
 LDADD+=                -lexecinfo -lelf
 DPADD+=                ${LIBEXECINFO} ${LIBELF}
 
+COPTS.t_backtrace.c=   -Wno-stack-protector
+
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index