Source-Changes-HG archive

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

[src/trunk]: src/tests/dev/usb Unbreak the sun2 build: Don't use program-spec...



details:   https://anonhg.NetBSD.org/src/rev/0df75c4db73b
branches:  trunk
changeset: 812865:0df75c4db73b
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 06 15:34:54 2016 +0000

description:
Unbreak the sun2 build: Don't use program-specific LDADD options because
those come after the general LDADD options and break static linking.

diffstat:

 tests/dev/usb/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r fb66bb4d02e4 -r 0df75c4db73b tests/dev/usb/Makefile
--- a/tests/dev/usb/Makefile    Wed Jan 06 15:28:40 2016 +0000
+++ b/tests/dev/usb/Makefile    Wed Jan 06 15:34:54 2016 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index