--- Makefile.orig	2018-02-22 21:13:38 UTC
+++ Makefile
@@ -205,10 +205,12 @@ ifeq ($(COMP),clang)
 	CXX=clang++
 	CXXFLAGS += -pedantic -Wextra -Wshadow
 ifneq ($(KERNEL),Darwin)
+ifneq ($(KERNEL),FreeBSD)
 ifneq ($(KERNEL),OpenBSD)
 	LDFLAGS += -latomic
 endif
 endif
+endif
 
 	ifeq ($(ARCH),armv7)
 		ifeq ($(OS),Android)
