Commit dc8f1112 authored by antirez's avatar antirez
Browse files

Fix again stack generation on the Raspberry Pi.

The fix was removed by c8ca71d4 attempting to fix the stack generation
on ARM64, without testing if it would still work on ARM32.
Now it should work both sides.
parent 83a6e81d
...@@ -41,6 +41,10 @@ endif ...@@ -41,6 +41,10 @@ endif
# To get ARM stack traces if Redis crashes we need a special C flag. # To get ARM stack traces if Redis crashes we need a special C flag.
ifneq (,$(filter aarch64 armv,$(uname_M))) ifneq (,$(filter aarch64 armv,$(uname_M)))
CFLAGS+=-funwind-tables CFLAGS+=-funwind-tables
else
ifneq (,$(findstring armv,$(uname_M)))
CFLAGS+=-funwind-tables
endif
endif endif
# Backwards compatibility for selecting an allocator # Backwards compatibility for selecting an allocator
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment