Page MenuHomeFreeBSD

D32805.id99726.diff
No OneTemporary

D32805.id99726.diff

Index: lib/Makefile
===================================================================
--- lib/Makefile
+++ lib/Makefile
@@ -185,7 +185,7 @@
${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386" || \
${MACHINE_CPUARCH} == "powerpc")
_libclang_rt= libclang_rt
-.elif ${MK_ASAN} != "no" || ${MK_UBSAN} != "no"
+.elif (${MK_ASAN} != "no" || ${MK_UBSAN} != "no") && make(all)
.error "Requested build with sanitizers but cannot build runtime libraries!"
.endif
Index: share/mk/bsd.sanitizer.mk
===================================================================
--- share/mk/bsd.sanitizer.mk
+++ share/mk/bsd.sanitizer.mk
@@ -23,7 +23,7 @@
.endif # ${MK_UBSAN} == "yes"
.if !defined(BOOTSTRAPPING) && ${_use_sanitizers} != "no" && \
- ${COMPILER_TYPE} != "clang"
+ ${COMPILER_TYPE} != "clang" && make(all)
.error "Sanitizer instrumentation currently only supported with clang"
.endif

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 4:06 AM (40 m, 21 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15998073
Default Alt Text
D32805.id99726.diff (915 B)

Event Timeline