mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-19 18:31:20 +00:00
remove old rules for stretch, xenial & trusty
This commit is contained in:
parent
7b302b694d
commit
27037fc17d
11
debian/rules
vendored
11
debian/rules
vendored
@ -254,10 +254,6 @@ ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
|
||||
CMAKE_EXTRA += -DLLVM_USE_PERF=yes -DLLVM_ENABLE_LIBPFM=ON
|
||||
endif
|
||||
|
||||
# Use thinlto for the link phase
|
||||
THIN_UNSUPPORTED_DISTRO := stretch xenial trusty
|
||||
# Don't enable for old distros
|
||||
ifeq (,$(filter $(DISTRO), $(THIN_UNSUPPORTED_DISTRO)))
|
||||
# Only enable it for archs supporting gold
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||
# armhf is not yet quite ready for Thin, it FTBFS
|
||||
@ -272,7 +268,6 @@ ifeq (,$(filter $(DEB_HOST_ARCH), armhf))
|
||||
# CMAKE_EXTRA += -DBOOTSTRAP_LLVM_ENABLE_LTO="Thin"
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
DH_OPTIONS=
|
||||
OCAML_ENABLE= no
|
||||
@ -357,12 +352,6 @@ preconfigure:
|
||||
fi; \
|
||||
fi
|
||||
|
||||
# DH doesn't support the [power ...] in install on Ubuntu trusty
|
||||
# fails with cp: cannot stat 'debian/tmp/[!powerpc': No such file or directory
|
||||
if test "$(DISTRO)" = "trusty"; then \
|
||||
sed -i -e "s|\[\!powerpc \!powerpcspe\] ||g" debian/llvm-$(LLVM_VERSION)-dev.install; \
|
||||
fi
|
||||
|
||||
# Override this two targets. They are trying to manage the .in conversion for me
|
||||
override_dh_ocamlinit:
|
||||
override_dh_ocamlclean:
|
||||
|
Loading…
Reference in New Issue
Block a user