Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/locale Fix build with stack smash protection ...



details:   https://anonhg.NetBSD.org/src/rev/da711fb44c4d
branches:  trunk
changeset: 764109:da711fb44c4d
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Apr 11 17:16:43 2011 +0000

description:
Fix build with stack smash protection enabled.

diffstat:

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

diffs (16 lines):

diff -r 6a24d8f0b017 -r da711fb44c4d tests/lib/libc/locale/Makefile
--- a/tests/lib/libc/locale/Makefile    Mon Apr 11 15:20:30 2011 +0000
+++ b/tests/lib/libc/locale/Makefile    Mon Apr 11 17:16:43 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/04/09 17:45:25 pgoyette Exp $
+# $NetBSD: Makefile,v 1.2 2011/04/11 17:16:43 tron Exp $
 
 .include <bsd.own.mk>
 
@@ -10,4 +10,6 @@
 TESTS_C+=      t_wcstod
 TESTS_C+=      t_wctomb
 
+COPTS.t_wctomb.c += -Wno-stack-protector
+
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index