diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-12-09 14:55:23 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-12-09 14:55:23 -0800 |
commit | f23947008a12c24bcfa7803e73942c1cd38cc7ac (patch) | |
tree | 79c4187ca042d02402316d5363dfb71aa1d44eda | |
parent | Rebuild (diff) | |
download | 0ad-f23947008a12c24bcfa7803e73942c1cd38cc7ac.tar.xz |
Rebuild for boost 1.74
Add override for -j# to avoid OOM
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |