Changeset View
Changeset View
Standalone View
Standalone View
lib/Makefile
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Lines | |||||
# The libraries under libclang_rt can only be built by clang, and only make | # The libraries under libclang_rt can only be built by clang, and only make | ||||
# sense to build when clang is enabled at all. Furthermore, they can only be | # sense to build when clang is enabled at all. Furthermore, they can only be | ||||
# built for certain architectures. | # built for certain architectures. | ||||
.if ${COMPILER_TYPE} == "clang" && \ | .if ${COMPILER_TYPE} == "clang" && \ | ||||
(${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ | (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ | ||||
${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386" || \ | ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "i386" || \ | ||||
${MACHINE_CPUARCH} == "powerpc") | ${MACHINE_CPUARCH} == "powerpc") | ||||
_libclang_rt= libclang_rt | _libclang_rt= libclang_rt | ||||
.elif ${MK_ASAN} != "no" || ${MK_UBSAN} != "no" | |||||
.error "Requested build with sanitizers but cannot build runtime libraries!" | |||||
.endif | .endif | ||||
.if ${MK_CXX} != "no" | .if ${MK_CXX} != "no" | ||||
_libcxxrt= libcxxrt | _libcxxrt= libcxxrt | ||||
_libcplusplus= libc++ | _libcplusplus= libc++ | ||||
_libcplusplus+= libc++experimental | _libcplusplus+= libc++experimental | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |