--- a/clang_delta/Makefile.am
+++ b/clang_delta/Makefile.am
@@ -131,7 +131,7 @@ clang_delta_LDADD = \
 	-lclang-cpp \
 	$(LLVMLIBS) \
 	$(CLANG_LDFLAGS) \
-	$(LLVMLDFLAGS)
+	$(LLVMLDFLAGS) $(LIBATOMIC)
 
 # Automake doesn't grok our use of $(shell) in `clang_delta_LDADD', so it puts
 # $(LLVMLIBS) in the dependencies by default.  To avoid this problem, we must
