diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-25 11:07:26 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-25 11:07:26 +0000 |
commit | 6b129086dcee14496517fae085b448e3edc69bc7 (patch) | |
tree | 9490af12e8dfdddce4107ac3a4cefe6c56ba0614 /lib/librt | |
parent | d98c8ac029f43d6d1b790246c01075b6eabf6a77 (diff) | |
download | src-test-6b129086dcee14496517fae085b448e3edc69bc7.tar.gz src-test-6b129086dcee14496517fae085b448e3edc69bc7.zip |
Convert libraries to use LIBADD
While here reduce a bit overlinking
Notes
Notes:
svn path=/head/; revision=275024
Diffstat (limited to 'lib/librt')
-rw-r--r-- | lib/librt/Makefile | 3 | ||||
-rw-r--r-- | lib/librt/tests/Makefile | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/librt/Makefile b/lib/librt/Makefile index bd6ec0717d911..36296101a6f75 100644 --- a/lib/librt/Makefile +++ b/lib/librt/Makefile @@ -9,8 +9,7 @@ CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} CFLAGS+=-fexceptions .endif CFLAGS+=-Winline -Wall -DPADD= ${LIBPTHREAD} -LDADD= -lpthread +LIBADD= pthread WARNS?= 2 diff --git a/lib/librt/tests/Makefile b/lib/librt/tests/Makefile index 224f52ea85aa4..95c525997e3b2 100644 --- a/lib/librt/tests/Makefile +++ b/lib/librt/tests/Makefile @@ -6,8 +6,7 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/librt TESTSDIR= ${TESTSBASE}/lib/librt -DPADD+= ${LIBRT} -LDADD+= -lrt +LIBADD= rt NETBSD_ATF_TESTS_C= sched_test NETBSD_ATF_TESTS_C+= sem_test |