stockfish: increase stack size for musl.
With the default musl stack, stockfish can only search 10 moves deep. Fixes #23156.
This commit is contained in:
parent
484211d44e
commit
886a54a45a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'stockfish'
|
||||
pkgname=stockfish
|
||||
version=11
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Stockfish-sf_${version}"
|
||||
build_wrksrc=src
|
||||
build_style=gnu-makefile
|
||||
|
@ -14,7 +14,7 @@ homepage="http://stockfishchess.org/"
|
|||
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz"
|
||||
checksum=802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199
|
||||
|
||||
LDFLAGS+="-lpthread"
|
||||
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
x86_64*) make_build_args+="ARCH=x86-64" ;;
|
||||
|
|
Loading…
Reference in a new issue