From 6b47f11c3e1d306a19cfa025dcdd988496c2af47 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 2 Mar 2018 15:43:22 +0100 Subject: [PATCH] stockfish: our compilers know their bittiness. --- srcpkgs/stockfish/patches/makefile.patch | 12 ++++++++++++ srcpkgs/stockfish/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/stockfish/patches/makefile.patch 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"