From 5ed9a0930f19f0f88cd4ad75c35552afb88e6a25 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 21 Aug 2018 23:56:58 +0200 Subject: [PATCH] Don't build with ld.gold on powerpcspe --- debian/changelog | 7 +++++++ debian/rules | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 54305b91..1dfd4b93 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-6.0 (1:6.0.1-5exp2) UNRELEASED; urgency=medium + + [ John Paul Adrian Glaubitz ] + * Don't build with ld.gold on powerpcspe + + -- John Paul Adrian Glaubitz Tue, 21 Aug 2018 23:56:27 +0200 + llvm-toolchain-6.0 (1:6.0.1-5exp1) experimental; urgency=medium * Enable lld on arm64, mips64el diff --git a/debian/rules b/debian/rules index 907070ec..d73f72db 100755 --- a/debian/rules +++ b/debian/rules @@ -84,7 +84,7 @@ else control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev' endif -BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 powerpcspe ppc64 ppc64el sparc sparc64 x32 s390x +BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 ppc64 ppc64el sparc sparc64 x32 s390x 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)