]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Use -fdebug-prefix-map= instead of -ffile-prefix-map=
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 22 Apr 2024 21:45:50 +0000 (23:45 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 23 Apr 2024 08:25:02 +0000 (10:25 +0200)
commit388dcc785b4c86238a5ed71ea0db021deab416ce
treed0188724ea4b81f13ae5205954dd6ca4f5c80806
parente3cd3200217262602ca3e7f9fe1646799f9cacc0
mkosi: Use -fdebug-prefix-map= instead of -ffile-prefix-map=

-ffile-prefix-map= implies -fmacro-prefix-map= which is incompatible
with our definition of PROJECT_FILE.

See https://github.com/systemd/systemd/issues/32417.

-fdebug-prefix-map= only affects debuginfo without affecting macros.
mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot
mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot