From 42ca6c27738427b66c7e518a6777305c22c60545 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 17 Apr 2024 15:54:53 +0200 Subject: [PATCH] mkosi: Disable DWARF debug info optimization We care more about fast builds in this case so disable the DWARF debug optimization that's done by default. --- .../system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot index a1f77bcc9bd..81613f3954a 100755 --- a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot +++ b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot @@ -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"