Don't build with ld.gold on powerpcspe

This commit is contained in:
John Paul Adrian Glaubitz 2018-08-21 23:56:58 +02:00
parent 6015c27b60
commit 5ed9a0930f
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -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 <glaubitz@physik.fu-berlin.de> 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

2
debian/rules vendored
View File

@ -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)