mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Fixes FreeBSD compilation when using Clang
closes https://github.com/official-stockfish/Stockfish/pull/3342 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
29ed22de8c
commit
1f87a9eb6c
@@ -366,9 +366,11 @@ ifeq ($(COMP),clang)
|
|||||||
|
|
||||||
ifneq ($(KERNEL),Darwin)
|
ifneq ($(KERNEL),Darwin)
|
||||||
ifneq ($(KERNEL),OpenBSD)
|
ifneq ($(KERNEL),OpenBSD)
|
||||||
|
ifneq ($(KERNEL),FreeBSD)
|
||||||
LDFLAGS += -latomic
|
LDFLAGS += -latomic
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(arch),$(filter $(arch),armv7 armv8))
|
ifeq ($(arch),$(filter $(arch),armv7 armv8))
|
||||||
ifeq ($(OS),Android)
|
ifeq ($(OS),Android)
|
||||||
|
|||||||
Reference in New Issue
Block a user