mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 14:02:59 +00:00
debian/rules: Ensure ld-gold is used. CMake invokes the linker through
g++ most of the time, therefore we need to set -Wl,-fuse-ld=gold.
This commit is contained in:
parent
63a718e523
commit
6b0ab895c1
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
llvm-toolchain-3.8 (1:3.8.1~+rc1-1~exp2) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Kai Wasserbäch ]
|
||||||
|
* debian/rules: Ensure ld-gold is used. CMake invokes the linker through
|
||||||
|
g++ most of the time, therefore we need to set -Wl,-fuse-ld=gold.
|
||||||
|
|
||||||
|
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 11 Jun 2016 16:53:04 +0200
|
||||||
|
|
||||||
llvm-toolchain-3.8 (1:3.8.1~+rc1-1~exp1) experimental; urgency=medium
|
llvm-toolchain-3.8 (1:3.8.1~+rc1-1~exp1) experimental; urgency=medium
|
||||||
|
|
||||||
* New RC release
|
* New RC release
|
||||||
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -73,6 +73,7 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin
|
|||||||
ifneq (,$(findstring $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
ifneq (,$(findstring $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||||
# -fused-ld=gold enables the gold linker (but is not supported by all archs / 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
|
||||||
|
CXXFLAGS_EXTRA += -Wl,-fuse-ld=gold
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user