Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108057871
D32805.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
843 B
Referenced Files
None
Subscribers
None
D32805.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
Wed, Jan 22, 12:16 AM (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15997727
Default Alt Text
D32805.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