From 196555bf2608d074ef24ec13d0ff20090ec11e6e Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 19 Oct 2018 10:39:57 +0200 Subject: [PATCH] Fix again stack generation on the Raspberry Pi. The fix was removed by f6627a3e6 attempting to fix the stack generation on ARM64, without testing if it would still work on ARM32. Now it should work both sides. --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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