From 53e7be262cc4f3a1c43b3054bc9ce917e7f38790 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 25 Aug 2022 12:44:47 +0200 Subject: Explicitly disable LTO via dpkg-buildflags NetworkManager requires additional build flags like -flto-partition=none to build properly with LTO enabled. See https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1070 and https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/839ba57c7f41798dddd43495bb0b2cf312bd0f6f Closes: #1015556 --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 52c938d3..18fb355f 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ include /usr/share/dpkg/architecture.mk -export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto export PYTHON=/usr/bin/python3 -- cgit 1.3.0-6-gf8a5