Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Use LDADD, which apparently puts the libr...



details:   https://anonhg.NetBSD.org/src/rev/f52972757acc
branches:  trunk
changeset: 456195:f52972757acc
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Apr 26 20:41:10 2019 +0000

description:
Use LDADD, which apparently puts the libraries at the end of the command,
and makes static builds (aka sun2) happier.

diffstat:

 tests/lib/libc/sys/Makefile |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 615624491a8f -r f52972757acc tests/lib/libc/sys/Makefile
--- a/tests/lib/libc/sys/Makefile       Fri Apr 26 19:42:27 2019 +0000
+++ b/tests/lib/libc/sys/Makefile       Fri Apr 26 20:41:10 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2019/04/25 19:15:23 kamil Exp $
+# $NetBSD: Makefile,v 1.56 2019/04/26 20:41:10 maya Exp $
 
 MKMAN= no
 
@@ -88,12 +88,12 @@
 
 LDADD.t_getpid+=        -lpthread
 
-LDFLAGS.t_ptrace_wait+=                -pthread -lm
-LDFLAGS.t_ptrace_wait3+=       -pthread -lm
-LDFLAGS.t_ptrace_wait4+=       -pthread -lm
-LDFLAGS.t_ptrace_wait6+=       -pthread -lm
-LDFLAGS.t_ptrace_waitid+=      -pthread -lm
-LDFLAGS.t_ptrace_waitpid+=     -pthread -lm
+LDADD.t_ptrace_wait+=          -pthread -lm
+LDADD.t_ptrace_wait3+=         -pthread -lm
+LDADD.t_ptrace_wait4+=         -pthread -lm
+LDADD.t_ptrace_wait6+=         -pthread -lm
+LDADD.t_ptrace_waitid+=                -pthread -lm
+LDADD.t_ptrace_waitpid+=       -pthread -lm
 
 .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
 CPPFLAGS.t_posix_fadvise.c += -D_KERNTYPES



Home | Main Index | Thread Index | Old Index