diff --git a/src/Makefile b/src/Makefile index bc60b4d74..4b4a996de 100644 --- a/src/Makefile +++ b/src/Makefile @@ -70,6 +70,7 @@ endif ifeq ($(COMPILER_NAME),clang) CXXFLAGS+= -stdlib=libc++ + LDFLAGS+= -latomic endif # To get ARM stack traces if Redis crashes we need a special C flag.