mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 09:27:36 +00:00
Use filter into of findstring in the gold usage. Thanks Doko for the
suggestion
This commit is contained in:
parent
f0a8b88cce
commit
70a4bd3129
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -5,6 +5,8 @@ llvm-toolchain-3.8 (1:3.8.1-8) unstable; urgency=medium
|
||||
testsuite
|
||||
* Disable lldb on ppc64
|
||||
* libfuzzer depends on the same version of clang (Closes: #833564)
|
||||
* Use filter into of findstring in the gold usage. Thanks Doko for the
|
||||
suggestion
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 07 Aug 2016 14:10:09 +0200
|
||||
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -69,7 +69,7 @@ endif
|
||||
|
||||
BINUTILS_GOLD_ARCHS := amd64 armhf i386 powerpcspe ppc64 ppc64el sparc sparc64 x32
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' binutils) ge 2.23.1-1~exp3 ; echo $$?),0)
|
||||
ifneq (,$(findstring $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
|
||||
# -fused-ld=gold enables the gold linker (but is not supported by all archs / distro)
|
||||
LDFLAGS_EXTRA += -fuse-ld=gold
|
||||
CXXFLAGS_EXTRA += -Wl,-fuse-ld=gold
|
||||
|
Loading…
Reference in New Issue
Block a user