1
0
Fork 0

Fixes FreeBSD compilation when using Clang

closes https://github.com/official-stockfish/Stockfish/pull/3342

No functional change
pull/3349/head
Andy Pilate 2021-02-08 22:02:42 +01:00 committed by Joost VandeVondele
parent 29ed22de8c
commit 1f87a9eb6c
1 changed files with 2 additions and 0 deletions

View File

@ -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)