summaryrefslogtreecommitdiff
path: root/tests/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-01-06 15:34:54 +0000
committerchristos <christos@NetBSD.org>2016-01-06 15:34:54 +0000
commit43caed04d760993f7344ec4b5f9a919e1f1560ee (patch)
tree2ec4ddac4ff3a7d05f8f7332d72acca5f8e80fe1 /tests/dev
parentb3f7d51ecdf86d8dc14f34bd092893a9523e9185 (diff)
Unbreak the sun2 build: Don't use program-specific LDADD options because
those come after the general LDADD options and break static linking.
Diffstat (limited to 'tests/dev')
-rw-r--r--tests/dev/usb/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dev/usb/Makefile b/tests/dev/usb/Makefile
index 5cf7ab9b1c2..336f20dee11 100644
--- a/tests/dev/usb/Makefile
+++ b/tests/dev/usb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/01/05 17:22:38 jakllsch Exp $
+# $NetBSD: Makefile,v 1.2 2016/01/06 15:34:54 christos Exp $
#
.include <bsd.own.mk>
@@ -11,8 +11,8 @@ CPPFLAGS.t_hid.c= -I${.CURDIR}/../../../sys/dev/usb
SUBDIR= libhid
LIBHIDDIR!= cd ${.CURDIR}/libhid && ${PRINTOBJDIR}
-LDFLAGS.t_hid+= -L${LIBHIDDIR}
-LDADD.t_hid+= -Wl,--whole-archive -lrumpdev_hid -Wl,--no-whole-archive
+LDFLAGS+= -L${LIBHIDDIR}
+LDADD+= -Wl,--whole-archive -lrumpdev_hid -Wl,--no-whole-archive
LDADD+= -lrump
LDADD+= -lrumpuser