]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Disable DWARF debug info optimization
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 17 Apr 2024 13:54:53 +0000 (15:54 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 17 Apr 2024 14:11:35 +0000 (16:11 +0200)
We care more about fast builds in this case so disable the DWARF
debug optimization that's done by default.

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

index a1f77bcc9bd290bc53c98be2cb83f468c8cf8480..81613f3954a31a4c1418313dd9f5319366e18fcc 100755 (executable)
@@ -70,6 +70,7 @@ rpmbuild \
     --define "__brp_check_rpaths %{nil}" \
     --define "__elf_exclude_path ^/usr/lib/systemd/tests/unit-tests/.*$" \
     --define "__script_requires %{nil}" \
+    --define "_find_debuginfo_dwz_opts %{nil}" \
     --undefine _lto_cflags \
     --noclean \
     "pkg/$ID/systemd.spec"