From 15bf8bfb69e549fe46e652366fc9e7fab0e02562 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 18 Apr 2024 14:00:30 +0200 Subject: [PATCH] mkosi: Undefine FORTIFY_SOURCE before setting it again Otherwise we get warnings from gcc. --- mkosi.images/system/mkosi.conf.d/10-arch/mkosi.build.chroot | 2 +- .../system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.build.chroot b/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.build.chroot index 8eebd62b047..13d4ebeb188 100755 --- a/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.build.chroot +++ b/mkosi.images/system/mkosi.conf.d/10-arch/mkosi.build.chroot @@ -25,7 +25,7 @@ mount --mkdir --rbind "$PWD/pkg/$ID" "pkg/$ID/src/" # on the makepkg command line so we append to /etc/makepkg.conf instead. The rootfs is overlaid with a # writable tmpfs during the build script so these changes don't end up in the image itself. tee --append /etc/makepkg.conf >/dev/null <