Add back powerpc to gold architectures

This commit is contained in:
Gianfranco Costamagna 2023-06-17 10:35:36 +02:00
parent 4c1c4eb8c9
commit 941011d527

2
debian/rules vendored
View File

@ -281,7 +281,7 @@ ifeq ($(LLVM_SPIRV_INSTALLED),yes)
endif endif
# gold linker is producing broken clang on powerpc https://sourceware.org/bugzilla/show_bug.cgi?id=30536 # gold linker is producing broken clang on powerpc https://sourceware.org/bugzilla/show_bug.cgi?id=30536
BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386 BINUTILS_GOLD_ARCHS := amd64 arm64 armhf i386 x32 s390x powerpc 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) 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))) ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
STAGE_ALL_CMAKE_EXTRA += -DLLVM_USE_LINKER=gold STAGE_ALL_CMAKE_EXTRA += -DLLVM_USE_LINKER=gold