mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-29 17:49:16 +00:00
Only use -fuse-ld=gold on supported distribution. Simplify the
backports.
This commit is contained in:
parent
61e7dcc1d6
commit
0094db28a9
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,9 +1,14 @@
|
|||||||
llvm-toolchain-3.3 (1:3.3-9) UNRELEASED; urgency=low
|
llvm-toolchain-3.3 (1:3.3-9) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Luca Falavigna ]
|
||||||
* debian/control:
|
* debian/control:
|
||||||
- Add llvm-3.3-dev to lldb-3.3 Depends field (Closes: #715129).
|
- Add llvm-3.3-dev to lldb-3.3 Depends field (Closes: #715129).
|
||||||
|
|
||||||
-- Luca Falavigna <dktrkranz@debian.org> Sun, 25 Aug 2013 13:51:40 +0200
|
[ Sylvestre Ledru ]
|
||||||
|
* Only use -fuse-ld=gold on supported distribution. Simplify the
|
||||||
|
backports.
|
||||||
|
|
||||||
|
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 26 Aug 2013 14:48:42 +0200
|
||||||
|
|
||||||
llvm-toolchain-3.3 (1:3.3-8) unstable; urgency=low
|
llvm-toolchain-3.3 (1:3.3-8) unstable; urgency=low
|
||||||
|
|
||||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -65,9 +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)))
|
||||||
|
Loading…
Reference in New Issue
Block a user