diff --git a/src/Makefile b/src/Makefile index 2ef54aa10..7ae04a2fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -45,8 +45,9 @@ endif endif USEASM?=true -# Do we use our assembly spinlock? +# Do we use our assembly spinlock? X64 only ifeq ($(uname_S),Linux) +ifeq ($(uname_M),x86_64) ifneq ($(@@),32bit) ifeq ($(USEASM),true) ASM_OBJ+= fastlock_x64.o @@ -55,6 +56,7 @@ ifeq ($(USEASM),true) endif endif endif +endif ifeq ($(COMPILER_NAME),clang) CXXFLAGS+= -stdlib=libc++