diff --git a/srcpkgs/stockfish/patches/makefile.patch b/srcpkgs/stockfish/patches/makefile.patch new file mode 100644 index 00000000000..00b7ef3c84b --- /dev/null +++ b/srcpkgs/stockfish/patches/makefile.patch @@ -0,0 +1,12 @@ +--- src/Makefile.orig ++++ src/Makefile +@@ -159,9 +159,6 @@ + CXXFLAGS += -m$(bits) + LDFLAGS += -m$(bits) + endif +- else +- CXXFLAGS += -m$(bits) +- LDFLAGS += -m$(bits) + endif + + ifneq ($(KERNEL),Darwin) diff --git a/srcpkgs/stockfish/template b/srcpkgs/stockfish/template index d9b6785e795..51f9136032c 100644 --- a/srcpkgs/stockfish/template +++ b/srcpkgs/stockfish/template @@ -1,7 +1,7 @@ # Template file for 'stockfish' pkgname=stockfish version=9 -revision=1 +revision=2 build_style=gnu-makefile build_wrksrc="src" wrksrc="${pkgname}-${version}-src"