ARM: Fix stack trace generation on crash.

This commit is contained in:
antirez 2017-06-26 10:36:12 +02:00
parent c9097393bf
commit c3998728a2

View File

@ -38,6 +38,11 @@ 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
ifeq ($(USE_TCMALLOC),yes)
MALLOC=tcmalloc