Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147948268
D32805.1784885166.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
843 B
Referenced Files
None
Subscribers
None
D32805.1784885166.diff
View Options
diff --git a/lib/Makefile b/lib/Makefile
--- a/lib/Makefile
+++ b/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
diff --git a/share/mk/bsd.sanitizer.mk b/share/mk/bsd.sanitizer.mk
--- a/share/mk/bsd.sanitizer.mk
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 9:26 AM (2 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29246249
Default Alt Text
D32805.1784885166.diff (843 B)
Attached To
Mode
D32805: Skip libclang_rt build check during non-build stages
Attached
Detach File
Event Timeline
Log In to Comment