ARM: Fix stack trace generation on crash.
This commit is contained in:
parent
a771a41a56
commit
e2a0d20737
@ -38,6 +38,11 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# To get ARM stack traces if Redis crashes we need a special C flag.
|
||||||
|
ifneq (,$(findstring armv,$(uname_M)))
|
||||||
|
CFLAGS+=-funwind-tables
|
||||||
|
endif
|
||||||
|
|
||||||
# Backwards compatibility for selecting an allocator
|
# Backwards compatibility for selecting an allocator
|
||||||
ifeq ($(USE_TCMALLOC),yes)
|
ifeq ($(USE_TCMALLOC),yes)
|
||||||
MALLOC=tcmalloc
|
MALLOC=tcmalloc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user