mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-28 08:25:31 +00:00
stretch: simplify and move the check
This commit is contained in:
parent
fe8da3d0d9
commit
0b46f82e7c
12
debian/rules
vendored
12
debian/rules
vendored
@ -196,12 +196,6 @@ ifneq (,$(filter $(DEB_HOST_ARCH),hurd-i386))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
|
||||
endif
|
||||
|
||||
LLDB_PYTHON_UNSUPPORTED_DISTRO := stretch
|
||||
# Don't enable lld python for old distros
|
||||
ifeq (,$(filter $(DISTRO), $(LLDB_PYTHON_UNSUPPORTED_DISTRO)))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) ge 4.8-20121128-1~ ; echo $$?),0)
|
||||
control_vars = '-Vdep:devlibs=libstdc++-$(GCC_VERSION)-dev, libgcc-$(GCC_VERSION)-dev' \
|
||||
'-Vdep:devlibs-objc=libobjc-$(GCC_VERSION)-dev'
|
||||
@ -340,6 +334,12 @@ else
|
||||
PROJECTS+=;lldb
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DISTRO),stretch))
|
||||
# Don't enable lld python for old distros
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
|
||||
LLD_ENABLE=yes
|
||||
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
|
||||
|
Loading…
Reference in New Issue
Block a user