aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyuan Yang <byang@debian.org>2022-07-27 12:32:08 -0400
committerBoyuan Yang <byang@debian.org>2022-07-27 12:32:08 -0400
commit68884dd2e65be09ba9f0c9f7770089bd85be97bf (patch)
treeb4876ecf86ce17ec2418efdf23877b45988c77d4
parentc602e58a9badf95e82fb70638d347f9b6ae45e77 (diff)
downloadlibgav1-68884dd2e65be09ba9f0c9f7770089bd85be97bf.tar.gz
libgav1-68884dd2e65be09ba9f0c9f7770089bd85be97bf.tar.bz2
libgav1-68884dd2e65be09ba9f0c9f7770089bd85be97bf.zip
debian/rules: Enable lto build.
-rwxr-xr-xdebian/rules3
1 files changed, 1 insertions, 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 $@