From f30b18f4de94e3235546b1dc8fe2be2028be2b80 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 c8ca71d40 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 773d3b27..912cbc19 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