Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153851852
D35740.id107864.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
850 B
Referenced Files
None
Subscribers
None
D35740.id107864.diff
View Options
Index: lib/Makefile
===================================================================
--- lib/Makefile
+++ lib/Makefile
@@ -180,11 +180,8 @@
SUBDIR.${MK_STATS}+= libstats
# The libraries under libclang_rt can only be built by clang and when we enable
-# C++ support. Furthermore, they can only be built for certain architectures.
-.if ${COMPILER_TYPE} == "clang" && ${MK_CXX} != "no" && \
- (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
- ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386" || \
- ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "riscv")
+# C++ support.
+.if ${COMPILER_TYPE} == "clang" && ${MK_CXX} != "no"
_libclang_rt= libclang_rt
.elif (${MK_ASAN} != "no" || ${MK_UBSAN} != "no") && make(all)
.error Requested build with sanitizers but cannot build runtime libraries!
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 6:27 AM (20 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32113986
Default Alt Text
D35740.id107864.diff (850 B)
Attached To
Mode
D35740: Simplify conditional guards for libclang_rt.
Attached
Detach File
Event Timeline
Log In to Comment