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

Brooks Davis brooks at FreeBSD.org
Wed Oct 28 23:10:55 UTC 2020


Author: brooks
Date: Wed Oct 28 23:10:54 2020
New Revision: 367121
URL: https://svnweb.freebsd.org/changeset/base/367121

Log:
  Disable ssp raw test without ASAN
  
  r366981 disabled ASAN when it might not be reliable (with an external
  compiler), but this test is broken without ASAN so disable it completely
  in that case.
  
  PR:		250706
  Reviewed by:	emaste, lwhsu
  Differential Revision:	https://reviews.freebsd.org/D26982

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

Modified: head/lib/libc/tests/ssp/Makefile
==============================================================================
--- head/lib/libc/tests/ssp/Makefile	Wed Oct 28 22:12:47 2020	(r367120)
+++ head/lib/libc/tests/ssp/Makefile	Wed Oct 28 23:10:54 2020	(r367121)
@@ -33,7 +33,7 @@ PROGS+=		h_memset
 # probably needs to be fixed as it's currently hardcoded.
 #
 # sanitizer is not tested or supported for ARM right now. sbruno
-.if ${COMPILER_TYPE} == "clang" && !defined(_SKIP_BUILD) && \
+.if ${COMPILER_TYPE} == "clang" && ${CC} == "cc" && !defined(_SKIP_BUILD) && \
     (!defined(_RECURSING_PROGS) || ${PROG} == "h_raw")
 .if !defined(_CLANG_RESOURCE_DIR)
 _CLANG_RESOURCE_DIR!=	${CC:N${CCACHE_BIN}} -print-resource-dir


More information about the svn-src-head mailing list