From: Andy Pilate Date: Mon, 8 Feb 2021 21:02:42 +0000 (+0100) Subject: Fixes FreeBSD compilation when using Clang X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=1f87a9eb6c2cd51be5a2f28d8b5694d931408a66;ds=sidebyside 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 87203547..55139a1f 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)