Try gold linker on mips64el

This commit is contained in:
Gianfranco Costamagna 2024-02-08 19:11:26 +01:00
parent 180dae8259
commit d49a6f36a7
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -1,5 +1,6 @@
llvm-toolchain-18 (1:18.1.0~rc2-3) unstable; urgency=medium llvm-toolchain-18 (1:18.1.0~rc2-3) unstable; urgency=medium
* Try gold linker on mips64el
* Add also lfs on top of time64, to fix FTBFS on 32bit * Add also lfs on top of time64, to fix FTBFS on 32bit
-- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 08 Feb 2024 16:38:35 +0100 -- Gianfranco Costamagna <locutusofborg@debian.org> Thu, 08 Feb 2024 16:38:35 +0100

2
debian/rules vendored
View File

@ -294,7 +294,7 @@ ifeq ($(LLVM_SPIRV_INSTALLED),yes)
LIBCLC_LLVM_SPIRV = -DLLVM_SPIRV=$(LLVM_SPIRV) LIBCLC_LLVM_SPIRV = -DLLVM_SPIRV=$(LLVM_SPIRV)
endif 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 ppc64el x32 s390x hurd-i386 kfreebsd-amd64 kfreebsd-i386 mips64el
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