Bring back the lto (gone with the cmake migration)

(Closes: #819333) (upstream: #27223)
This commit is contained in:
Sylvestre Ledru 2016-08-08 16:53:25 +00:00
parent 48ae2ee516
commit d4136d0af8
3 changed files with 4 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ llvm-toolchain-snapshot (1:4.0~svn275970-1~exp2) experimental; urgency=medium
* Sync the 3.9 changes into 4.0
* Fix the cmake paths in llvm-4.0-dev deb package. Thanks to Brad King
for the patch (Closes: #819072)
* Bring back the lto (gone with the cmake migration)
(Closes: #819333) (upstream: #27223)
* LLVMConfig.cmake is now installed to <prefix>/lib/cmake/llvm instead of
<prefix>/share/llvm/cmake
Thanks to Brad King of the fix

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