mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-11-01 12:33:45 +00:00
Disable LIBUNWIND_USE_COMPILER_RT when COMPILER_RT is disabled
This commit is contained in:
parent
f2cd318cb8
commit
22c0a38297
6
debian/rules
vendored
6
debian/rules
vendored
@ -509,6 +509,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH), mips64 mips64el))
|
||||
LIBOMP_ARCH = mips64
|
||||
endif
|
||||
|
||||
HAVE_COMPILER_RT := NO
|
||||
ifeq (,$(filter $(RUNTIMES),compiler-rt))
|
||||
HAVE_COMPILER_RT = YES
|
||||
endif
|
||||
# if cmake is installed in /tmp/cmake/ uses it
|
||||
# Used to build llvm on old ubuntu (precise) on the llvm.org/apt/ ci
|
||||
CMAKE_BIN=cmake
|
||||
@ -767,7 +771,7 @@ endif
|
||||
-DCOMPILER_RT_USE_LIBCXX=OFF \
|
||||
-DCOMPILER_RT_USE_BUILTINS_LIBRARY=$(COMPILER_RT_USE_BUILTINS_LIBRARY) \
|
||||
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON \
|
||||
-DLIBUNWIND_USE_COMPILER_RT=ON \
|
||||
-DLIBUNWIND_USE_COMPILER_RT=$(HAVE_COMPILER_RT) \
|
||||
-DLIBUNWIND_INSTALL_LIBRARY=OFF \
|
||||
-DLIBCXXABI_ENABLE_EXCEPTIONS=$(LIBCXX_EXCEPTIONS) \
|
||||
-DLIBCXXABI_USE_COMPILER_RT=$(LIBCXX_USE_COMPILER_RT) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user