diff options
author | ngie <ngie@FreeBSD.org> | 2015-10-30 07:48:03 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-10-30 07:48:03 +0000 |
commit | 968dafb4fcf133cb8beb6fa3c558fecd7dc00ef0 (patch) | |
tree | 9ed02ba372e598a0cee69aa8961a831ae70569e6 /lib/libc/tests | |
parent | 32135cd6ff2022ea7e76fa32daa9fc3b75ffbcce (diff) | |
download | FreeBSD-src-968dafb4fcf133cb8beb6fa3c558fecd7dc00ef0.zip FreeBSD-src-968dafb4fcf133cb8beb6fa3c558fecd7dc00ef0.tar.gz |
- Re-enable h_raw with clang 3.7.0+
- Fix the compiler check to allow the test to be compiled for gcc
PR: 196430
MFC after: never
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/tests')
-rw-r--r-- | lib/libc/tests/ssp/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/tests/ssp/Makefile b/lib/libc/tests/ssp/Makefile index ec7a82a..03c305b 100644 --- a/lib/libc/tests/ssp/Makefile +++ b/lib/libc/tests/ssp/Makefile @@ -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 |