summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-13 18:54:01 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-13 18:54:01 -0800
commit0f0c7b01dd8ee6e950225e1f8278e05cd5947fc5 (patch)
treef901aa3deae8ce1ea76f289cb419f667344b33d5
parentRebuild for boost 1.74 (diff)
download0ad-0f0c7b01dd8ee6e950225e1f8278e05cd5947fc5.tar.xz
Rebuild for boost 1.75
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7606e66..0f28523 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=0ad
pkgver=a23.1
_pkgver=0.0.23b-alpha
-pkgrel=12
+pkgrel=13
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
arch=('x86_64')
url="https://play0ad.com/"
@@ -46,9 +46,10 @@ build() {
# http://site.icu-project.org/download/61#TOC-Migration-Issues
CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
- # -fPIE and -pie break compilation
# 0ad is prone to OOM, use 1 thread per 8GB ram
export MAKEFLAGS="-j4"
+
+ # -fPIE and -pie break compilation
export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIC"
export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIC"