]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Explicitly disable fortify for debian/ubuntu 32391/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 22 Apr 2024 08:49:32 +0000 (10:49 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 22 Apr 2024 08:49:32 +0000 (10:49 +0200)
We do the same for the other distributions, so let's do so for
debian/ubuntu as well.

mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.build.chroot

index 3059ce8476c019e9be9d313c227b17e18b220ac2..061ed5b5a767154d51ea533be872f86d635a50b3 100755 (executable)
@@ -48,6 +48,7 @@ build() {
         $( ((WITH_DEBUG)) || echo nostrip) \
         terse \
         optimize=-lto \
+        hardening=-fortify \
     ") \
     DEB_BUILD_PROFILES=$(awk '$1=$1' <<<"\
         $( ((WITH_TESTS)) || echo nocheck) \