1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/games/stockfish/files/patch-Makefile
Fernando Apesteguía 4d401c32f0 games/stockfish: update to 10
Add LDFLAGS+= -fuse-ld=lld
so the port builds regardless of the linker differences between FreeBSD
releases.

Not much in the release notes:
http://blog.stockfishchess.org/post/180691011237/stockfish-10

SF 10 improves by about 50 ELO in self-play compared to SF 9.

PR:	234035
Submitted by:	execve@gmail.com (maintainer)
2018-12-21 19:23:45 +00:00

22 lines
415 B
Plaintext

--- Makefile.orig 2018-11-29 14:45:26 UTC
+++ Makefile
@@ -29,7 +29,7 @@ EXE = stockfish
endif
### Installation dir definitions
-PREFIX = /usr/local
+PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
### Built-in benchmark for pgo-builds
@@ -211,7 +211,9 @@ ifeq ($(COMP),clang)
ifneq ($(KERNEL),Darwin)
ifneq ($(KERNEL),OpenBSD)
+ ifneq ($(KERNEL),FreeBSD)
LDFLAGS += -latomic
+ endif
endif
endif