diff --git a/src/Makefile b/src/Makefile index 773d3b272..912cbc19f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -41,6 +41,10 @@ endif # To get ARM stack traces if Redis crashes we need a special C flag. ifneq (,$(filter aarch64 armv,$(uname_M))) CFLAGS+=-funwind-tables +else +ifneq (,$(findstring armv,$(uname_M))) + CFLAGS+=-funwind-tables +endif endif # Backwards compatibility for selecting an allocator