mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 20:09:34 +00:00
-fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
This commit is contained in:
parent
f311d41075
commit
ebe2c90f5d
5
debian/rules
vendored
5
debian/rules
vendored
@ -65,10 +65,13 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
BINUTILS_GOLD_ARCHS := amd64 armhf i386 powerpc powerpcspe ppc64 sparc sparc64 x32
|
BINUTILS_GOLD_ARCHS := amd64 armhf i386 powerpc powerpcspe ppc64 sparc sparc64 x32
|
||||||
|
BINUTILS_GOLD_UNSUPPORTED_DISTRO = wheezy quantal
|
||||||
ifneq (,$(findstring $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
ifneq (,$(findstring $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||||
|
ifeq (,$(findstring $(distrel),$(BINUTILS_GOLD_UNSUPPORTED_DISTRO)))
|
||||||
|
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
|
||||||
LDFLAGS_EXTRA += -fuse-ld=gold
|
LDFLAGS_EXTRA += -fuse-ld=gold
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter codecoverage,$(DEB_BUILD_OPTIONS)))
|
||||||
# enable the code coverage
|
# enable the code coverage
|
||||||
|
Loading…
Reference in New Issue
Block a user