aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-10-02 05:55:41 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-10-02 09:33:56 +0000
commit0cc541bdcb6fcc4bee8863d2731d3693a511e1ad (patch)
treefb86a8496a410183c19538e7e93ec2bc524c673f
parent8c2e342a30d722d705f82d8cb303a255d9613286 (diff)
downloadaports-0cc541bdcb6fcc4bee8863d2731d3693a511e1ad.tar.gz
aports-0cc541bdcb6fcc4bee8863d2731d3693a511e1ad.tar.bz2
aports-0cc541bdcb6fcc4bee8863d2731d3693a511e1ad.tar.xz
community/gnuchess: set a stack-size that makes gnuchess not crash
fixes #11983
-rw-r--r--community/gnuchess/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/gnuchess/APKBUILD b/community/gnuchess/APKBUILD
index 4d0b26344a..e11e0ddbd9 100644
--- a/community/gnuchess/APKBUILD
+++ b/community/gnuchess/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnuchess
pkgver=6.2.7
-pkgrel=0
+pkgrel=1
pkgdesc="The GNU chess program"
url="https://www.gnu.org/software/chess/"
arch="all"
@@ -17,6 +17,7 @@ prepare() {
}
build() {
+ LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152"
./configure \
--build=$CBUILD \
--host=$CHOST \