Bring back the lto (gone with the cmake migration)

(Closes: #819333) (upstream: #27223)
This commit is contained in:
Sylvestre Ledru 2016-08-08 16:50:18 +00:00
parent c592356bf7
commit c5ab781e10
2 changed files with 4 additions and 1 deletions

4
debian/changelog vendored
View File

@ -2,8 +2,10 @@ llvm-toolchain-3.8 (1:3.8.1-9) unstable; urgency=medium
* Generate manpages for lli, lldb-mi & git-clang-format
* Fix some lintian overrides
* Bring back the lto (gone with the cmake migration)
(Closes: #819333) (upstream: #27223)
--
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 08 Aug 2016 18:50:13 +0200
llvm-toolchain-3.8 (1:3.8.1-8) unstable; urgency=medium

1
debian/rules vendored
View File

@ -73,6 +73,7 @@ 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
CMAKE_EXTRA += -DLLVM_BINUTILS_INCDIR=/usr/include/
endif
endif