]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Disable lto feature of systemd spec
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 29 Oct 2025 12:56:16 +0000 (13:56 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 30 Oct 2025 13:56:04 +0000 (14:56 +0100)
This makes sure the systemd spec doesn't check if LTO is working as
expected when it is actually disabled.

mkosi/mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.build.chroot

index fe96e997ea561ea08d0266d3f3411ba29775052d..b0dac40d1ce91bad487cce6307ccc860e3d34b9d 100755 (executable)
@@ -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" \