Don't build with ld.gold on powerpcspe

This commit is contained in:
John Paul Adrian Glaubitz 2018-08-21 23:50:56 +02:00
parent 2b4466eb09
commit 8c47ef9c85
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-7 (1:7~+rc1-1~exp4) 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:50:12 +0200
llvm-toolchain-7 (1:7~+rc1-1~exp3) experimental; urgency=medium
* dh_strip should be verbose

2
debian/rules vendored
View File

@ -95,7 +95,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)