Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages / 
systemd


Commits:
806753c8 by Christian Hesse at 2023-09-05T20:49:45+02:00
do not use fortification level 3

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -149,6 +149,10 @@ build() {
     -Dsbat-distro-url="https://archlinux.org/packages/core/x86_64/${pkgname}/";
   )
 
+  # this uses malloc_usable_size, which is incompatible with fortification 
level 3
+  export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
+  export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
+
   arch-meson "$pkgbase-stable" build "${_meson_options[@]}"
 
   meson compile -C build



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/commit/806753c812cd0fc727d20c685bc3d80492a42ed7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/commit/806753c812cd0fc727d20c685bc3d80492a42ed7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to