mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 06:31:27 +00:00
only enable libc on 3 archs
This commit is contained in:
parent
dad9d0d187
commit
b42ff9916e
10
debian/rules
vendored
10
debian/rules
vendored
@ -25,15 +25,15 @@ LLVM_VERSION_NEXT := $(shell echo $(LLVM_VERSION_FULL) | awk -F. '{ OFS="."; $$N
|
||||
# disable fixfilepath in favor of the llvm-project supplied flavor, disable lto
|
||||
# remove +time64,+lfs once the time64_t transition starts
|
||||
ifeq ($(DEB_HOST_ARCH),i386)
|
||||
RUNTIMES = compiler-rt;libcxx;libcxxabi;libc
|
||||
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
||||
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto
|
||||
else
|
||||
ifeq ($(DEB_HOST_ARCH_BITS),32)
|
||||
RUNTIMES = libcxx;libcxxabi;libc
|
||||
RUNTIMES = libcxx;libcxxabi
|
||||
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto abi=+time64,+lfs
|
||||
skip_packages = -Nlibclang-rt-$(LLVM_VERSION)-dev
|
||||
else
|
||||
RUNTIMES = compiler-rt;libcxx;libcxxabi;libc
|
||||
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
||||
ifeq ($(DEB_HOST_ARCH),mips64el)
|
||||
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto hardening=-stackprotector,-stackprotectorstrong
|
||||
else
|
||||
@ -321,6 +321,10 @@ ifneq (,$(filter bolt-$(LLVM_VERSION), $(packages)))
|
||||
PROJECTS += ;bolt
|
||||
endif
|
||||
|
||||
ifneq (,$(filter libllvmlibc--$(LLVM_VERSION)-dev, $(packages)))
|
||||
RUNTIMES += ;libc
|
||||
endif
|
||||
|
||||
# flang is only for 64bits
|
||||
ifneq (,$(filter flang-$(LLVM_VERSION), $(packages)))
|
||||
PROJECTS += ;flang
|
||||
|
Loading…
Reference in New Issue
Block a user