]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Fix FORTIFY_SOURCE (again)
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 19 Apr 2024 06:30:53 +0000 (08:30 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Apr 2024 08:17:09 +0000 (10:17 +0200)
commita2574ebf4d02a49a33663cdab0d3443a7a20eeca
treea20fa9c29a328c1a936057e05a99bba67116ec01
parentff5b9aeedae35fd68671d60a15ea217bcfe77899
mkosi: Fix FORTIFY_SOURCE (again)

CentOS/Fedora use annobin which will complain if FORTIFY_SOURCE=0
is used so we disable those checks to avoid the warnings.

We also make sure that when we query the compilation flags so we can
add more, we set _fortify_level=0 and undefine _lto_flags so that we
don't get those flags in the result.
mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot