summaryrefslogtreecommitdiff
path: root/package/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-07 19:35:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-07 19:35:22 +0100
commit4f6040ec25279563206482675b237b5f388f8481 (patch)
tree12ac1122f2d7bc053296f9fb5f4f1b8ea302161f /package/gcc
parent2aed1cd778ff5c7241a18ef9a12201e99af7583b (diff)
fix cross-compile on Darwin
Diffstat (limited to 'package/gcc')
-rw-r--r--package/gcc/patches/4.7.3/patch-libgcc_unwind-arm-common_inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/gcc/patches/4.7.3/patch-libgcc_unwind-arm-common_inc b/package/gcc/patches/4.7.3/patch-libgcc_unwind-arm-common_inc
new file mode 100644
index 000000000..beeba8148
--- /dev/null
+++ b/package/gcc/patches/4.7.3/patch-libgcc_unwind-arm-common_inc
@@ -0,0 +1,14 @@
+--- gcc-4.7.3.orig/libgcc/unwind-arm-common.inc 2011-12-20 21:54:25.000000000 +0100
++++ gcc-4.7.3/libgcc/unwind-arm-common.inc 2014-02-05 15:10:25.000000000 +0100
+@@ -25,11 +25,6 @@
+ #include "tsystem.h"
+ #include "unwind.h"
+
+-/* Used for SystemTap unwinder probe. */
+-#ifdef HAVE_SYS_SDT_H
+-#include <sys/sdt.h>
+-#endif
+-
+ /* We add a prototype for abort here to avoid creating a dependency on
+ target headers. */
+ extern void abort (void);