summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2023-08-23 23:26:49 +0200
committerKarol Lewandowski <k.lewandowsk@samsung.com>2023-08-24 22:38:30 +0200
commit2f75272cf9fddab613a4c5b6deb8651c43cb8133 (patch)
treea4f7a3b1a38e7bd5d5d575ae605d8444f4f1389d
parent043cb9d22064ca827c112a6d7e13e8f24064e7fd (diff)
downloadcryptsetup-2f75272cf9fddab613a4c5b6deb8651c43cb8133.tar.gz
cryptsetup-2f75272cf9fddab613a4c5b6deb8651c43cb8133.tar.bz2
cryptsetup-2f75272cf9fddab613a4c5b6deb8651c43cb8133.zip
Cryptsetup fails to link when LTO is enabled. Disable it, even if project config would enable it globally. Change-Id: I51b564fc921e3f7b09cd85ff3bb48a851f70bfe3
-rw-r--r--packaging/cryptsetup.spec2
1 files changed, 1 insertions, 1 deletions
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 \