Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/misc Fix stack protector build.



details:   https://anonhg.NetBSD.org/src/rev/7a2a680ecc95
branches:  trunk
changeset: 365253:7a2a680ecc95
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Aug 09 12:45:15 2018 +0000

description:
Fix stack protector build.

diffstat:

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

diffs (17 lines):

diff -r 77103823e07b -r 7a2a680ecc95 tests/lib/libc/misc/Makefile
--- a/tests/lib/libc/misc/Makefile      Thu Aug 09 10:27:17 2018 +0000
+++ b/tests/lib/libc/misc/Makefile      Thu Aug 09 12:45:15 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/08/03 04:18:40 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2018/08/09 12:45:15 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -24,5 +24,7 @@
 CWARNFLAGS.clang+=     -Wno-incompatible-pointer-types-discards-qualifiers
 CWARNFLAGS.clang+=     -Wno-nullability-completeness 
 .endif
+COPTS.t_ubsan.c += -Wno-stack-protector
+COPTS.t_ubsanxx.cpp += -Wno-stack-protector
 
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index