mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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'
|
# Template file for 'stockfish'
|
||||||
pkgname=stockfish
|
pkgname=stockfish
|
||||||
version=11
|
version=11
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="Stockfish-sf_${version}"
|
wrksrc="Stockfish-sf_${version}"
|
||||||
build_wrksrc=src
|
build_wrksrc=src
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
@ -14,7 +14,7 @@ homepage="http://stockfishchess.org/"
|
||||||
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz"
|
distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version}.tar.gz"
|
||||||
checksum=802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199
|
checksum=802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199
|
||||||
|
|
||||||
LDFLAGS+="-lpthread"
|
LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
x86_64*) make_build_args+="ARCH=x86-64" ;;
|
x86_64*) make_build_args+="ARCH=x86-64" ;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue