diff --git a/debian/changelog b/debian/changelog index 2b83e7aa..b0d6b3d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-11 (1:11.1.0-2) unstable; urgency=medium + + * Disable lto. Hopefully workaround the issue + https://bugs.llvm.org/show_bug.cgi?id=50031 + + -- Sylvestre Ledru Thu, 22 Apr 2021 22:08:49 +0200 + llvm-toolchain-11 (1:11.1.0-1) unstable; urgency=medium * New upstream release diff --git a/debian/rules b/debian/rules index 5af91639..a3779557 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)