kpcyrd pushed to branch main at Arch Linux / Packaging / Packages / 0ad


Commits:
583c4c2b by kpcyrd at 2023-09-29T10:49:01+02:00
do not use fortification level 3

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -38,6 +38,10 @@ prepare() {
 build() {
   cd "$pkgname-$_pkgver/build/workspaces"
 
+  # 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}"
+
   ./update-workspaces.sh -j$(nproc) \
       --without-pch \
       --bindir=/usr/bin \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/0ad/-/commit/583c4c2b349d46c7d08f0ea05fc55de64c2abf01

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/0ad/-/commit/583c4c2b349d46c7d08f0ea05fc55de64c2abf01
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to