forked from pool/redis
3b6cf36164
- 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
16 lines
417 B
Diff
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__
|