Module Name: src
Committed By: maya
Date: Fri Apr 26 20:41:10 UTC 2019
Modified Files:
src/tests/lib/libc/sys: Makefile
Log Message:
Use LDADD, which apparently puts the libraries at the end of the command,
and makes static builds (aka sun2) happier.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/tests/lib/libc/sys/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/sys/Makefile
diff -u src/tests/lib/libc/sys/Makefile:1.55 src/tests/lib/libc/sys/Makefile:1.56
--- src/tests/lib/libc/sys/Makefile:1.55 Thu Apr 25 19:15:23 2019
+++ src/tests/lib/libc/sys/Makefile Fri Apr 26 20:41:10 2019
@@ -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 @@ SRCS.t_mprotect= t_mprotect.c ${SRCS_EXE
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