svn commit: r297463 - head/lib/libc/tests/ssp

Bryan Drewery bdrewery at FreeBSD.org
Thu Mar 31 17:27:19 UTC 2016


Author: bdrewery
Date: Thu Mar 31 17:27:17 2016
New Revision: 297463
URL: https://svnweb.freebsd.org/changeset/base/297463

Log:
  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

Modified:
  head/lib/libc/tests/ssp/Makefile

Modified: head/lib/libc/tests/ssp/Makefile
==============================================================================
--- head/lib/libc/tests/ssp/Makefile	Thu Mar 31 17:27:14 2016	(r297462)
+++ head/lib/libc/tests/ssp/Makefile	Thu Mar 31 17:27:17 2016	(r297463)
@@ -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


More information about the svn-src-head mailing list