Option to disable ASM spinlock
Former-commit-id: 01ff36fc289449d6e0bf20731de079b6957bfac8
This commit is contained in:
parent
f446785084
commit
f019a3b69e
@ -44,14 +44,17 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
USEASM?=true
|
||||||
# Do we use our assembly spinlock?
|
# Do we use our assembly spinlock?
|
||||||
ifeq ($(uname_S),Linux)
|
ifeq ($(uname_S),Linux)
|
||||||
ifneq ($(@@),32bit)
|
ifneq ($(@@),32bit)
|
||||||
|
ifeq ($(USEASM),true)
|
||||||
ASM_OBJ+= fastlock_x64.o
|
ASM_OBJ+= fastlock_x64.o
|
||||||
CFLAGS+= -DASM_SPINLOCK
|
CFLAGS+= -DASM_SPINLOCK
|
||||||
CXXFLAGS+= -DASM_SPINLOCK
|
CXXFLAGS+= -DASM_SPINLOCK
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# To get ARM stack traces if Redis crashes we need a special C flag.
|
# To get ARM stack traces if Redis crashes we need a special C flag.
|
||||||
ifneq (,$(filter aarch64 armv,$(uname_M)))
|
ifneq (,$(filter aarch64 armv,$(uname_M)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user