From f6e3190a60d58299914b2c1a653b03aa07ab75fc Mon Sep 17 00:00:00 2001 From: Mark Hindley Date: Wed, 31 Oct 2018 12:25:00 +0000 Subject: Building with LTO works for me using binutils 2.13.1 which is currently in unstable. --- debian/rules | 4 ---- 1 file changed, 4 deletions(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 23e48b88a..ef90d8135 100755 --- a/debian/rules +++ b/debian/rules @@ -5,9 +5,6 @@ # pam libs must go to /lib/*/security, same for udev rules # - disable killing users processes by default. This is weird an unexpected # behavior -# - Disable lto because this makes the build fail with static library -# warnings and with linking errors. (It seems that instead of ar/ld -# gcc-ar and gcc should be used) # - SELinux build is broken on 239 (fix available for 240) # - tests disabled beacuase some of the tests seem to require elogind running. # Need to sort out which tests could be run @@ -18,7 +15,6 @@ CONFFLAGS = \ -Ddocdir=/usr/share/doc/elogind \ -Dudevrulesdir=/lib/udev/rules.d \ -Ddefault-kill-user-processes=false \ - -Db_lto=false \ -Dselinux=false \ -Dtests=false -- cgit v1.2.3