summaryrefslogtreecommitdiff
path: root/package/uclibc++
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-06 15:56:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-06 15:56:07 +0200
commita194f76a6432fb460341066ea5e1848b3d106553 (patch)
tree9ba9f38ab132c3562eee87f57ed59977295fa141 /package/uclibc++
parentfcae8b3c70e999b3433b22950121972316fb28a7 (diff)
fix build for arm targets, from OpenWrt package/uclibc++/patches/patch-include_unwind-cxx_h
Diffstat (limited to 'package/uclibc++')
-rw-r--r--package/uclibc++/patches/patch-include_unwind-cxx_h21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/uclibc++/patches/patch-include_unwind-cxx_h b/package/uclibc++/patches/patch-include_unwind-cxx_h
new file mode 100644
index 000000000..948c127bc
--- /dev/null
+++ b/package/uclibc++/patches/patch-include_unwind-cxx_h
@@ -0,0 +1,21 @@
+patch from OpenWrt
+--- uClibc++-0.2.2.orig/include/unwind-cxx.h 2007-06-04 00:51:12.000000000 +0200
++++ uClibc++-0.2.2/include/unwind-cxx.h 2010-04-02 12:44:02.704723285 +0200
+@@ -135,6 +135,7 @@ extern std::unexpected_handler __unexpec
+
+ // This is the exception class we report -- "GNUCC++\0".
+ const _Unwind_Exception_Class __gxx_exception_class
++#ifndef __ARM_EABI_UNWINDER__
+ = ((((((((_Unwind_Exception_Class) 'G'
+ << 8 | (_Unwind_Exception_Class) 'N')
+ << 8 | (_Unwind_Exception_Class) 'U')
+@@ -143,6 +144,9 @@ const _Unwind_Exception_Class __gxx_exce
+ << 8 | (_Unwind_Exception_Class) '+')
+ << 8 | (_Unwind_Exception_Class) '+')
+ << 8 | (_Unwind_Exception_Class) '\0');
++#else
++= "GNUC++";
++#endif
+
+ // GNU C++ personality routine, Version 0.
+ extern "C" _Unwind_Reason_Code __gxx_personality_v0