summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-09 14:55:23 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-09 14:55:23 -0800
commitf23947008a12c24bcfa7803e73942c1cd38cc7ac (patch)
tree79c4187ca042d02402316d5363dfb71aa1d44eda
parentRebuild (diff)
download0ad-f23947008a12c24bcfa7803e73942c1cd38cc7ac.tar.xz
Rebuild for boost 1.74
Add override for -j# to avoid OOM
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 90b7df5..7606e66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=0ad
pkgver=a23.1
_pkgver=0.0.23b-alpha
-pkgrel=11
+pkgrel=12
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
arch=('x86_64')
url="https://play0ad.com/"
@@ -48,6 +48,7 @@ build() {
# -fPIE and -pie break compilation
# 0ad is prone to OOM, use 1 thread per 8GB ram
+ export MAKEFLAGS="-j4"
export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIC"
export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIC"