mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
arm has only limited support for __builtin_return_address() due to calling convention. disable the backtrace() emulation on arm.
12 lines
390 B
Diff
12 lines
390 B
Diff
--- varnish-4.0.2.orig/lib/libvarnishcompat/execinfo.c
|
|
+++ varnish-4.0.2/lib/libvarnishcompat/execinfo.c
|
|
@@ -30,7 +30,7 @@
|
|
|
|
#include "compat/execinfo.h"
|
|
|
|
-#if defined (__GNUC__) && __GNUC__ >= 4 /* XXX Correct version to check for ? */
|
|
+#if !defined(__arm__) && defined (__GNUC__) && __GNUC__ >= 4 /* XXX Correct version to check for ? */
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/uio.h>
|