Bring back the lto (gone with the cmake migration)

(Closes: #819333) (upstream: #27223)
This commit is contained in:
Sylvestre Ledru 2016-08-08 16:52:15 +00:00
parent 5c47153ca4
commit 543274af81
3 changed files with 4 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ llvm-toolchain-3.9 (1:3.9~+rc1-1~exp1) experimental; urgency=medium
* new testing version
* Sync the 3.8 changes into 3.9
* amd64 llvm testsuite is green, bring back the failure in case of error
* Bring back the lto (gone with the cmake migration)
(Closes: #819333) (upstream: #27223)
* Fix the cmake paths in llvm-3.9-dev deb package. Thanks to Brad King
for the patch (Closes: #819072)
* LLVMConfig.cmake is now installed to <prefix>/lib/cmake/llvm instead of

View File

@ -1,2 +1,3 @@
debian/man/clang-format-diff-@LLVM_VERSION@.1
debian/man/clang-format-@LLVM_VERSION@.1

1
debian/rules vendored
View File

@ -63,6 +63,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