summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-17 15:54:53 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-04-17 16:11:35 +0200
commit42ca6c27738427b66c7e518a6777305c22c60545 (patch)
tree9967de84147ae67859adbcb49a983a8030d7b0cf /mkosi.images/system
parentmkosi: Override build_cflags instead of _distro_extra_cflags (diff)
downloadsystemd-42ca6c27738427b66c7e518a6777305c22c60545.tar.xz
systemd-42ca6c27738427b66c7e518a6777305c22c60545.zip
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.
Diffstat (limited to 'mkosi.images/system')
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot1
1 files changed, 1 insertions, 0 deletions
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 a1f77bcc9b..81613f3954 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"