From: Andy Pilate Date: Mon, 8 Feb 2021 21:02:42 +0000 (+0100) Subject: Fixes FreeBSD compilation when using Clang X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=1f87a9eb6c2cd51be5a2f28d8b5694d931408a66;p=fairystockfish.git Fixes FreeBSD compilation when using Clang closes https://github.com/official-stockfish/Stockfish/pull/3342 No functional change --- diff --git a/src/Makefile b/src/Makefile index 8720354..55139a1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -366,9 +366,11 @@ ifeq ($(COMP),clang) ifneq ($(KERNEL),Darwin) ifneq ($(KERNEL),OpenBSD) + ifneq ($(KERNEL),FreeBSD) LDFLAGS += -latomic endif endif + endif ifeq ($(arch),$(filter $(arch),armv7 armv8)) ifeq ($(OS),Android)