about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeremy Bicha <jeremy.bicha@canonical.com>2022-09-20 13:51:56 -0400
committerJeremy Bicha <jeremy.bicha@canonical.com>2022-09-20 13:51:56 -0400
commit87f7575d7268053774dacffc4bdd45df3f26b30b (patch)
treee7f5ed391fe2a55630c99d3fc3ba1c0f0886f77f
parent6f7fcde10e47d8af865af336becf1fd8a446e62e (diff)
debian/rules: Add comment for lto
Gbp-Dch: Ignore
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 18fb355f..140dbbe7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 include /usr/share/dpkg/architecture.mk
 
+# Disable lto here regardless of whether we enable the configure flag
+# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1070
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
 
 export PYTHON=/usr/bin/python3