mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 12:58:06 +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
|
# disable fixfilepath in favor of the llvm-project supplied flavor, disable lto
|
||||||
# remove +time64,+lfs once the time64_t transition starts
|
# remove +time64,+lfs once the time64_t transition starts
|
||||||
ifeq ($(DEB_HOST_ARCH),i386)
|
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
|
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto
|
||||||
else
|
else
|
||||||
ifeq ($(DEB_HOST_ARCH_BITS),32)
|
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
|
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto abi=+time64,+lfs
|
||||||
skip_packages = -Nlibclang-rt-$(LLVM_VERSION)-dev
|
skip_packages = -Nlibclang-rt-$(LLVM_VERSION)-dev
|
||||||
else
|
else
|
||||||
RUNTIMES = compiler-rt;libcxx;libcxxabi;libc
|
RUNTIMES = compiler-rt;libcxx;libcxxabi
|
||||||
ifeq ($(DEB_HOST_ARCH),mips64el)
|
ifeq ($(DEB_HOST_ARCH),mips64el)
|
||||||
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto hardening=-stackprotector,-stackprotectorstrong
|
export DEB_BUILD_MAINT_OPTIONS = reproducible=-fixfilepath,-fixdebugpath optimize=-lto hardening=-stackprotector,-stackprotectorstrong
|
||||||
else
|
else
|
||||||
@ -321,6 +321,10 @@ ifneq (,$(filter bolt-$(LLVM_VERSION), $(packages)))
|
|||||||
PROJECTS += ;bolt
|
PROJECTS += ;bolt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(filter libllvmlibc--$(LLVM_VERSION)-dev, $(packages)))
|
||||||
|
RUNTIMES += ;libc
|
||||||
|
endif
|
||||||
|
|
||||||
# flang is only for 64bits
|
# flang is only for 64bits
|
||||||
ifneq (,$(filter flang-$(LLVM_VERSION), $(packages)))
|
ifneq (,$(filter flang-$(LLVM_VERSION), $(packages)))
|
||||||
PROJECTS += ;flang
|
PROJECTS += ;flang
|
||||||
|
Loading…
Reference in New Issue
Block a user