From b29ad5879457b3ffe48fe3a2a114b927ebcf8c64 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Mon, 22 Mar 2021 16:50:32 +0100 Subject: [PATCH] Add optimize=-lto to DEB_BUILD_MAINT_OPTIONS --- debian/changelog | 7 +++++++ debian/rules | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 56e89ca4..80a903d6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-12 (1:12.0.0~++rc3-5) UNRELEASED; urgency=medium + + [ Matthias Klose ] + * Add optimize=-lto to DEB_BUILD_MAINT_OPTIONS. + + -- Gianfranco Costamagna Mon, 22 Mar 2021 16:50:05 +0100 + llvm-toolchain-12 (1:12.0.0~++rc3-4) unstable; urgency=medium * dont' fail fsanitize=thread on i386, not supported diff --git a/debian/rules b/debian/rules index 23489605..4a942f87 100755 --- a/debian/rules +++ b/debian/rules @@ -65,7 +65,7 @@ endif # Ensure fixfilepath feature is disabled. The fixfilepath feature # sets a -ffile-prefix-map flag, which is only supported in clang-10. -export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath +export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixfilepath optimize=-lto # Cxx flags for building libcxx and libcxxabi LIBCXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)