aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-06-05 13:06:06 +0000
committerMark Johnston <markj@FreeBSD.org>2018-06-05 13:06:06 +0000
commitea16e3e1e7c83382d2969a7e993e345e88bc8db8 (patch)
treefce584f809b8850def31bcfd1c85850a27a5eeb5 /lib
parentd670d9518f1006db16366ca3fbf112f57df912c6 (diff)
downloadsrc-ea16e3e1e7c83382d2969a7e993e345e88bc8db8.tar.gz
src-ea16e3e1e7c83382d2969a7e993e345e88bc8db8.zip
Don't build brk_test on platforms that don't support brk().
X-MFC with: r334626
Notes
Notes: svn path=/head/; revision=334653
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/tests/sys/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/tests/sys/Makefile b/lib/libc/tests/sys/Makefile
index 3abcb9924ee5..0dca18966313 100644
--- a/lib/libc/tests/sys/Makefile
+++ b/lib/libc/tests/sys/Makefile
@@ -4,7 +4,9 @@ PACKAGE= tests
.include <bsd.own.mk>
+.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "riscv"
ATF_TESTS_C+= brk_test
+.endif
ATF_TESTS_C+= queue_test
# TODO: clone, lwp_create, lwp_ctl, posix_fadvise, recvmmsg,