summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-03-31 17:27:17 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-03-31 17:27:17 +0000
commit42da510ee854f9caa310848f6abe9e86fb750d7d (patch)
tree4a82cd8a1611372e6ba86056bbedaff6695b4a59 /lib/libc/tests
parent814a0c259a11dd8f6e48e378b1be756df1876b21 (diff)
downloadFreeBSD-src-42da510ee854f9caa310848f6abe9e86fb750d7d.zip
FreeBSD-src-42da510ee854f9caa310848f6abe9e86fb750d7d.tar.gz
WITHOUT_TOOLCHAIN: Skip building of h_raw.
-fsanitize does not seem to work when a --sysroot is specified and there is no <sysroot>/usr/lib/clang/3.8.0/lib/freebsd/libclang_rt.ubsan_standalone-*.a. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/tests')
-rw-r--r--lib/libc/tests/ssp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile
index 61caced..2ac74aa 100644
--- a/lib/libc/tests/ssp/Makefile
+++ b/lib/libc/tests/ssp/Makefile
@@ -32,7 +32,7 @@ PROGS+= h_memset
#
# sanitizer is not tested or supported for ARM right now. sbruno
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
-.if ${COMPILER_TYPE} == "clang"
+.if ${COMPILER_TYPE} == "clang" && ${MK_TOOLCHAIN} == "yes"
.if ${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}
PROGS+= h_raw
.endif
OpenPOWER on IntegriCloud