mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-24 15:35:22 +00:00
Don't use gold on ppc64el. It fails to build in that case (Closes: #972317)
This commit is contained in:
parent
f0b4b8baad
commit
e461697a7a
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -4,6 +4,8 @@ llvm-toolchain-9 (1:9.0.1-15) unstable; urgency=medium
|
||||
feature sets a -ffile-prefix-map flag, which is only
|
||||
supported in clang-10. (Closes: #972751).
|
||||
Thanks to Vagrant Cascadian for the patch
|
||||
* Don't use gold on ppc64el. It fails to build in that case
|
||||
(Closes: #972317)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 23 Oct 2020 09:14:16 +0200
|
||||
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@ -135,7 +135,7 @@ endif
|
||||
# CMAKE_EXTRA += -DLLVM_ENABLE_LLD=ON
|
||||
# endif
|
||||
|
||||
BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 ppc64el x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386
|
||||
BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.23.1-1~exp3 ; echo $$?),0)
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user