From f23947008a12c24bcfa7803e73942c1cd38cc7ac Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Wed, 9 Dec 2020 14:55:23 -0800 Subject: Rebuild for boost 1.74 Add override for -j# to avoid OOM --- PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1