From 543274af81b8e63ef29b5cca5f32a7232ec97b00 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 8 Aug 2016 16:52:15 +0000 Subject: [PATCH] Bring back the lto (gone with the cmake migration) (Closes: #819333) (upstream: #27223) --- debian/changelog | 2 ++ debian/clang-format-X.Y.manpages.in | 1 + debian/rules | 1 + 3 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 856e269f..bcd2757a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 /lib/cmake/llvm instead of diff --git a/debian/clang-format-X.Y.manpages.in b/debian/clang-format-X.Y.manpages.in index 486b909d..db4dd8f7 100644 --- a/debian/clang-format-X.Y.manpages.in +++ b/debian/clang-format-X.Y.manpages.in @@ -1,2 +1,3 @@ debian/man/clang-format-diff-@LLVM_VERSION@.1 debian/man/clang-format-@LLVM_VERSION@.1 + diff --git a/debian/rules b/debian/rules index 361e70aa..0f6b7f03 100755 --- a/debian/rules +++ b/debian/rules @@ -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