Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib Link with -l${MACHINE_CPU}.
details: https://anonhg.NetBSD.org/src/rev/f40ffb1ccfbf
branches: trunk
changeset: 330001:f40ffb1ccfbf
user: alnsn <alnsn%NetBSD.org@localhost>
date: Tue Jun 17 06:36:01 2014 +0000
description:
Link with -l${MACHINE_CPU}.
diffstat:
tests/lib/libbpfjit/Makefile | 5 ++++-
tests/lib/libsljit/Makefile | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 0939f927f938 -r f40ffb1ccfbf tests/lib/libbpfjit/Makefile
--- a/tests/lib/libbpfjit/Makefile Tue Jun 17 06:31:47 2014 +0000
+++ b/tests/lib/libbpfjit/Makefile Tue Jun 17 06:36:01 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/11/11 17:37:34 alnsn Exp $
+# $NetBSD: Makefile,v 1.2 2014/06/17 06:36:01 alnsn Exp $
.include <bsd.own.mk>
.include <../../../external/bsd/sljit/Makefile.inc>
@@ -16,6 +16,9 @@
LDADD+= -L${LIBSLJITDIR} -lsljit
DPADD+= ${LIBSLJITDIR}/libsljit.a
+# I-cache sync routines for arm and mips
+LDADD+= -l${MACHINE_CPU}
+
LDADD+= ${LIBPCAP}
.include <bsd.test.mk>
diff -r 0939f927f938 -r f40ffb1ccfbf tests/lib/libsljit/Makefile
--- a/tests/lib/libsljit/Makefile Tue Jun 17 06:31:47 2014 +0000
+++ b/tests/lib/libsljit/Makefile Tue Jun 17 06:36:01 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/11/05 00:34:28 alnsn Exp $
+# $NetBSD: Makefile,v 1.2 2014/06/17 06:36:01 alnsn Exp $
TESTSDIR= ${TESTSBASE}/lib/libsljit
@@ -20,4 +20,7 @@
LDADD+= -L${LIBSLJITDIR} -lsljit
DPADD+= ${LIBSLJITDIR}/libsljit.a
+# I-cache sync routines for arm and mips
+LDADD+= -l${MACHINE_CPU}
+
.include <bsd.test.mk>
Home |
Main Index |
Thread Index |
Old Index