svn commit: r367315 - stable/11/lib/libc/tests/ssp

Brooks Davis brooks at FreeBSD.org
Tue Nov 3 23:30:12 UTC 2020


Author: brooks
Date: Tue Nov  3 23:30:11 2020
New Revision: 367315
URL: https://svnweb.freebsd.org/changeset/base/367315

Log:
  MFC r367121:
  
  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:
  stable/11/lib/libc/tests/ssp/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/tests/ssp/Makefile
==============================================================================
--- stable/11/lib/libc/tests/ssp/Makefile	Tue Nov  3 23:29:07 2020	(r367314)
+++ stable/11/lib/libc/tests/ssp/Makefile	Tue Nov  3 23:30:11 2020	(r367315)
@@ -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-all mailing list