diff --git a/debian/changelog b/debian/changelog index 4d2eafec..54874252 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 23 Oct 2020 09:14:16 +0200 diff --git a/debian/rules b/debian/rules index 9fc9e675..ab8eb412 100755 --- a/debian/rules +++ b/debian/rules @@ -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)