From: Daan De Meyer Date: Wed, 29 Oct 2025 12:56:16 +0000 (+0100) Subject: mkosi: Disable lto feature of systemd spec X-Git-Tag: v258.2~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=307f904d6fae6c09f7f56b9ced8b4762a35b5fef;p=thirdparty%2Fsystemd.git mkosi: Disable lto feature of systemd spec This makes sure the systemd spec doesn't check if LTO is working as expected when it is actually disabled. (cherry picked from commit a835537f75875bdc1a5d49b82c99c0fccd598366) --- diff --git a/mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot b/mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot index fe96e997ea5..b0dac40d1ce 100755 --- a/mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot +++ b/mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot @@ -82,6 +82,7 @@ CXX_LD="$( ((LLVM)) && echo lld)" \ --noprep \ --build-in-place \ --with upstream \ + --without lto \ $( ((WITH_TESTS)) || echo "--nocheck") \ $( ((WITH_DOCS)) || echo "--without=docs") \ --define "_topdir /var/tmp" \