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/d44afaae62e1
branches: trunk
changeset: 342723:d44afaae62e1
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 db8edcfd6ca3 -r d44afaae62e1 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