Module Name: src
Committed By: christos
Date: Wed Jan 6 15:34:54 UTC 2016
Modified Files:
src/tests/dev/usb: Makefile
Log Message:
Unbreak the sun2 build: Don't use program-specific LDADD options because
those come after the general LDADD options and break static linking.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/dev/usb/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/dev/usb/Makefile
diff -u src/tests/dev/usb/Makefile:1.1 src/tests/dev/usb/Makefile:1.2
--- src/tests/dev/usb/Makefile:1.1 Tue Jan 5 12:22:38 2016
+++ src/tests/dev/usb/Makefile Wed Jan 6 10:34:54 2016
@@ -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}/../../../
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