projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ed22d
)
Fixes FreeBSD compilation when using Clang
author
Andy Pilate
<cubox@cubox.dev>
Mon, 8 Feb 2021 21:02:42 +0000
(22:02 +0100)
committer
Joost VandeVondele
<Joost.VandeVondele@gmail.com>
Wed, 10 Feb 2021 18:50:44 +0000
(19:50 +0100)
closes https://github.com/official-stockfish/Stockfish/pull/3342
No functional change
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index 87203547f2865705d8154b2c25966fa8895e8184..55139a1f75eb92dc34e8628721cadef8f73b9b27 100644
(file)
--- 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)