From 5c29986459eee2769ad0901e417e307c4fc8c95d Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Wed, 15 Jun 2022 15:31:22 -0700 Subject: Rebuild for boost 1.79 --- PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 03881b1..71c50c8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgname=0ad pkgver=a25.b _pkgver=0.0.25b-alpha -pkgrel=4 +pkgrel=5 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game" arch=('x86_64') url="https://play0ad.com/" @@ -17,7 +17,7 @@ license=('GPL2' 'CCPL') depends=('0ad-data' 'binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'openal' 'sdl2' 'wxgtk3' 'zlib' 'libgl' 'glu' 'fmt' 'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium') -makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'python') +makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'python' 'clang') options=('!lto') # breaks spidermonkey linking (https://bugs.gentoo.org/746947) source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz" "glibc-2.35.patch" @@ -38,8 +38,11 @@ prepare() { build() { cd "$pkgname-$_pkgver/build/workspaces" + # Work around GCC 12 ICE (https://bugs.gentoo.org/847601) + export CC=clang CXX=clang++ + # rust is prone to OOM, use 1 thread per 2GB ram - export MAKEFLAGS="-j32" + #export MAKEFLAGS="-j32" # More threads #sed -i 's/JOBS=${JOBS:="-j2"}/JOBS=${JOBS:="-j32"}/' update-workspaces.sh -- cgit v1.2.1