git: ab9293239c7d - main - qsort_b_test: Only build on clang.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 23:14:49 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=ab9293239c7def9b93e3892f60ec3e7212b29bab
commit ab9293239c7def9b93e3892f60ec3e7212b29bab
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-10-03 23:14:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-10-03 23:14:39 +0000
qsort_b_test: Only build on clang.
GCC doesn't support -fblocks.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D36809
---
lib/libc/tests/stdlib/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/libc/tests/stdlib/Makefile b/lib/libc/tests/stdlib/Makefile
index df0ecc66b067..e4c0cfea73fe 100644
--- a/lib/libc/tests/stdlib/Makefile
+++ b/lib/libc/tests/stdlib/Makefile
@@ -7,7 +7,9 @@ ATF_TESTS_C+= dynthr_test
ATF_TESTS_C+= heapsort_test
ATF_TESTS_C+= mergesort_test
ATF_TESTS_C+= qsort_test
+.if ${COMPILER_TYPE} == "clang"
ATF_TESTS_C+= qsort_b_test
+.endif
ATF_TESTS_C+= qsort_r_compat_test
ATF_TESTS_C+= qsort_r_test
ATF_TESTS_C+= qsort_s_test