mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-06 14:21:00 +00:00
Use bfd linker on p*pc*
This commit is contained in:
parent
c7f288bb52
commit
4c1c4eb8c9
3
debian/rules
vendored
3
debian/rules
vendored
@ -280,7 +280,8 @@ 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
|
# 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
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user