diff options
author | Michał Wojdyła | 2024-01-25 04:34:41 +0100 |
---|---|---|
committer | Michał Wojdyła | 2024-01-25 04:34:41 +0100 |
commit | 20c9717abcd56fd351a466ccda33585271e64384 (patch) | |
tree | 84bc2692f0d84bcade6ae6932cc76551a3938175 | |
parent | d2bf0d4f19f09f83d0d6292f9f6441e443ac225d (diff) | |
download | aur-20c9717abcd56fd351a466ccda33585271e64384.tar.gz |
do not use fortification level 3
https://gitlab.archlinux.org/archlinux/packaging/packages/0ad/-/commit/583c4c2b349d46c7d08f0ea05fc55de64c2abf01
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = 0ad-git pkgdesc = Cross-platform, 3D and historically-based real-time strategy game - built from git development version. - pkgver = A26.r920.gc4a0ae4ff + pkgver = A26.r1234.g1dfaca89e6 pkgrel = 1 epoch = 1 url = http://play0ad.com/ @@ -7,7 +7,7 @@ pkgname=('0ad-git' '0ad-data-git') _pkgname=0ad epoch=1 -pkgver=A26.r920.gc4a0ae4ff +pkgver=A26.r1234.g1dfaca89e6 pkgrel=1 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game - built from git development version." arch=('i686' 'x86_64') @@ -37,6 +37,10 @@ prepare() { build() { cd "$srcdir/${_pkgname}/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 \ --without-pch \ --bindir=/usr/bin \ |