Module Name: src
Committed By: tron
Date: Mon Apr 11 17:16:43 UTC 2011
Modified Files:
src/tests/lib/libc/locale: Makefile
Log Message:
Fix build with stack smash protection enabled.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/locale/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/locale/Makefile
diff -u src/tests/lib/libc/locale/Makefile:1.1 src/tests/lib/libc/locale/Makefile:1.2
--- src/tests/lib/libc/locale/Makefile:1.1 Sat Apr 9 17:45:25 2011
+++ src/tests/lib/libc/locale/Makefile Mon Apr 11 17:16:43 2011
@@ -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>