]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
- Re-enable h_raw with clang 3.7.0+
authorngie <ngie@FreeBSD.org>
Fri, 30 Oct 2015 07:48:03 +0000 (07:48 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 30 Oct 2015 07:48:03 +0000 (07:48 +0000)
- Fix the compiler check to allow the test to be compiled for gcc

PR: 196430
MFC after: never
Sponsored by: EMC / Isilon Storage Division

lib/libc/tests/ssp/Makefile

index ec7a82a48885ec21265c653a4396202da13a3b53..03c305b6e05a0e42745486e83aaa17866af6a6d1 100644 (file)
@@ -26,7 +26,8 @@ PROGS+=               h_memmove
 PROGS+=                h_memset
 # This testcase doesn't run properly when not compiled with -fsantize=bounds
 # with clang, which is currently contingent on a compiler_rt update
-.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 30500
+.if (${COMPILER_TYPE} != "clang" || \
+     (${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}))
 PROGS+=                h_raw
 .endif
 PROGS+=                h_read