SHA256
1
0
forked from pool/redis
redis/redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch
Martin Pluskal 3b6cf36164 Accepting request 597685 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update redis-enable-bactrace-on-x86-and-ia64-only.patch to handle 
  arm and rename it to redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch
- Add redis-disable_integration_logging.patch to disable logging test 
  when backtrace is not enabled

OBS-URL: https://build.opensuse.org/request/show/597685
OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=110
2018-04-18 07:10:52 +00:00

16 lines
417 B
Diff

Index: src/config.h
===================================================================
--- src/config.h.orig
+++ src/config.h
@@ -63,8 +63,10 @@
/* Test for backtrace() */
#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
+#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__) || defined (__arm__)
#define HAVE_BACKTRACE 1
#endif
+#endif
/* MSG_NOSIGNAL. */
#ifdef __linux__