Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc Use -Wl,--no-fatal-warnings for the mktemp(3)...



details:   https://anonhg.NetBSD.org/src/rev/997075b3c978
branches:  trunk
changeset: 1011415:997075b3c978
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Jun 29 14:22:11 2020 +0000

description:
Use -Wl,--no-fatal-warnings for the mktemp(3) test.

diffstat:

 tests/lib/libc/stdio/Makefile  |  4 +---
 tests/lib/libc/stdlib/Makefile |  5 +++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r be5747e21f87 -r 997075b3c978 tests/lib/libc/stdio/Makefile
--- a/tests/lib/libc/stdio/Makefile     Mon Jun 29 14:01:14 2020 +0000
+++ b/tests/lib/libc/stdio/Makefile     Mon Jun 29 14:22:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/06/27 09:45:57 jruoho Exp $
+# $NetBSD: Makefile,v 1.14 2020/06/29 14:22:11 jruoho Exp $
 
 .include <bsd.own.mk>
 
@@ -15,6 +15,4 @@
 TESTS_C+=      t_scanf
 COPTS.t_printf.c += -Wno-format-nonliteral
 
-LDADD.t_mktemp+=       -Wl,--no-fatal-warnings
-
 .include <bsd.test.mk>
diff -r be5747e21f87 -r 997075b3c978 tests/lib/libc/stdlib/Makefile
--- a/tests/lib/libc/stdlib/Makefile    Mon Jun 29 14:01:14 2020 +0000
+++ b/tests/lib/libc/stdlib/Makefile    Mon Jun 29 14:22:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2020/06/27 10:14:10 jruoho Exp $
+# $NetBSD: Makefile,v 1.31 2020/06/29 14:22:11 jruoho Exp $
 
 .include <bsd.own.mk>
 
@@ -35,6 +35,7 @@
 LDADD.t_strtod=                        -lm
 DPADD.t_strtod+=               ${LIBM}
 
-LDADD.t_getenv_thread=         -lpthread
+LDADD.t_getenv_thread= -lpthread
+LDADD.t_mktemp+=       -Wl,--no-fatal-warnings
 
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index