From 68884dd2e65be09ba9f0c9f7770089bd85be97bf Mon Sep 17 00:00:00 2001 From: Boyuan Yang Date: Wed, 27 Jul 2022 12:32:08 -0400 Subject: debian/rules: Enable lto build. --- debian/rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index d48b7a5..e8bb1c7 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk -export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto CXXFLAGS += $(CPPFLAGS) @@ -29,7 +29,6 @@ ifneq (,$(filter $(DEB_HOST_ARCH), arm64)) endif - %: dh $@ -- cgit v1.2.3