From 2f75272cf9fddab613a4c5b6deb8651c43cb8133 Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Wed, 23 Aug 2023 23:26:49 +0200 Subject: [PATCH] packaging: Ensure LTO is disabled Cryptsetup fails to link when LTO is enabled. Disable it, even if project config would enable it globally. Change-Id: I51b564fc921e3f7b09cd85ff3bb48a851f70bfe3 --- packaging/cryptsetup.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/cryptsetup.spec b/packaging/cryptsetup.spec index 13881b5..000fc38 100644 --- a/packaging/cryptsetup.spec +++ b/packaging/cryptsetup.spec @@ -64,7 +64,7 @@ cp %{SOURCE1} . chmod +x ./autogen.sh ./autogen.sh -%configure \ +CFLAGS="-fno-lto" %configure \ --disable-cryptsetup-reencrypt \ --disable-integritysetup \ --disable-asciidoc \ -- 2.7.4