[arch-commits] Commit in 0ad/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Mon Jun 13 13:32:13 UTC 2022
Date: Monday, June 13, 2022 @ 13:32:13
Author: foutrelis
Revision: 1237504
Work around GCC 12 ICE
Modified:
0ad/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-13 13:30:07 UTC (rev 1237503)
+++ PKGBUILD 2022-06-13 13:32:13 UTC (rev 1237504)
@@ -12,7 +12,7 @@
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
@@ -30,6 +30,9 @@
build() {
cd "$pkgname-$_pkgver/build/workspaces"
+ # Work around GCC 12 ICE (https://bugs.gentoo.org/847601)
+ export CC=clang CXX=clang++
+
export WX_CONFIG="wx-config-gtk3"
./update-workspaces.sh -j$(nproc) \
--without-pch \
More information about the arch-commits
mailing list