Disable lto. Hopefully workaround the issue https://bugs.llvm.org/show_bug.cgi?id=50031

This commit is contained in:
Sylvestre Ledru 2021-04-22 22:09:01 +02:00
parent 14616b5799
commit d65a30fcd5
2 changed files with 8 additions and 1 deletions

7
debian/changelog vendored
View File

@ -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 <sylvestre@debian.org> Thu, 22 Apr 2021 22:08:49 +0200
llvm-toolchain-11 (1:11.1.0-1) unstable; urgency=medium
* New upstream release

2
debian/rules vendored
View File

@ -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)