diff --git a/debian/rules b/debian/rules index 68b6bc3f..b545b496 100755 --- a/debian/rules +++ b/debian/rules @@ -65,7 +65,8 @@ 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 +# Disable also lto +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)