diff options
author | Spike29 | 2024-04-07 20:57:28 +0200 |
---|---|---|
committer | Spike29 | 2024-04-07 20:57:28 +0200 |
commit | 05b00e81b4601cf0a15888092f058d7f9465f72f (patch) | |
tree | 5cd5fa110f5edd5887ec61aa92223c34521726ae /PKGBUILD | |
parent | 3a42639f12477373130bfd4bc1b5a89ba1b3dc5a (diff) | |
download | aur-05b00e81b4601cf0a15888092f058d7f9465f72f.tar.gz |
Disable _GLIBCXX_ASSERTIONS to address a crash
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=netradiant-custom pkgver=20240309 -pkgrel=1 +pkgrel=2 pkgdesc="The open-source, cross-platform level editor for id Tech based games (NetRadiant fork)" url="https://garux.github.io/NRC/" depends=('bash' 'gcc-libs' 'glib2' 'glibc' 'libjpeg-turbo' 'libpng' 'libxml2' 'qt5-base' 'zlib') @@ -18,6 +18,9 @@ license=('GPL' 'BSD' 'LGPL') arch=('i686' 'x86_64') build () { + # Work around a crash at startup or when displaying the texture browser + export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS" + cd "${srcdir}/${pkgname}/" make } |