forked from pool/redis
c15e93971d
- enable backtrace for x86 and ia64 only redis-enable-bactrace-on-x86-and-ia64-only.patch OBS-URL: https://build.opensuse.org/request/show/182466 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=42
17 lines
441 B
Diff
17 lines
441 B
Diff
Index: redis-2.6.9/src/config.h
|
|
===================================================================
|
|
--- redis-2.6.9.orig/src/config.h
|
|
+++ redis-2.6.9/src/config.h
|
|
@@ -54,9 +54,11 @@
|
|
#endif
|
|
|
|
/* Test for backtrace() */
|
|
+#if defined(__i386__) || defined(__x86_64__) || defined(__ia64__)
|
|
#if defined(__APPLE__) || defined(__linux__) || defined(__sun)
|
|
#define HAVE_BACKTRACE 1
|
|
#endif
|
|
+#endif
|
|
|
|
/* Test for polling API */
|
|
#ifdef __linux__
|