diff options
author | ngie <ngie@FreeBSD.org> | 2016-08-21 05:08:37 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-08-21 05:08:37 +0000 |
commit | 3084b0218b240a3fc43f54f17d92fc9422b3c8c2 (patch) | |
tree | 0c7bc0918dedfa2f42ac487299f16802d81cb8a4 /lib/libc | |
parent | 8ef9c6fc5bcfe1b606229a8da024f76b2d5048c1 (diff) | |
download | FreeBSD-src-3084b0218b240a3fc43f54f17d92fc9422b3c8c2.zip FreeBSD-src-3084b0218b240a3fc43f54f17d92fc9422b3c8c2.tar.gz |
Unbreak the build when MK_TESTS != no after r304527
- src.opts.mk should be bsd.own.mk on ^/stable/10
- LIBADD should be DPADD/LDADD on ^/stable/10
Pointyhat to: kib
Reported by: Olivier Pinter <oliver.pinter@hardenedbsd.org>
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/tests/stdlib/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/tests/stdlib/Makefile b/lib/libc/tests/stdlib/Makefile index c8b5666..15d8cbc 100644 --- a/lib/libc/tests/stdlib/Makefile +++ b/lib/libc/tests/stdlib/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.include <src.opts.mk> +.include <bsd.own.mk> ATF_TESTS_C+= heapsort_test ATF_TESTS_C+= mergesort_test @@ -42,7 +42,8 @@ CFLAGS+= -I${.CURDIR} CXXFLAGS.cxa_thread_atexit_test+= -std=c++11 CXXFLAGS.cxa_thread_atexit_nothr_test+= -std=c++11 -LIBADD.cxa_thread_atexit_test+= pthread +DPADD.cxa_thread_atexit_test+= ${LIBPTHREAD} +LDADD.cxa_thread_atexit_test+= -lpthread .for t in h_getopt h_getopt_long CFLAGS.$t+= -I${LIBNETBSD_SRCDIR} -I${SRCTOP}/contrib/netbsd-tests |