summaryrefslogtreecommitdiff
path: root/cross/ppc-morphos-gcc-9/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
diff options
context:
space:
mode:
Diffstat (limited to 'cross/ppc-morphos-gcc-9/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h')
-rw-r--r--cross/ppc-morphos-gcc-9/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cross/ppc-morphos-gcc-9/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h b/cross/ppc-morphos-gcc-9/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
new file mode 100644
index 00000000000..9502fec7c28
--- /dev/null
+++ b/cross/ppc-morphos-gcc-9/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-libstdc++-v3_libsupc++_unwind-cxx.h,v 1.1 2020/04/14 22:02:21 js Exp $
+
+--- libstdc++-v3/libsupc++/unwind-cxx.h.orig 2020-01-25 15:10:52.346666839 +0000
++++ libstdc++-v3/libsupc++/unwind-cxx.h
+@@ -37,7 +37,7 @@
+ #include <bits/atomic_word.h>
+ #include <cxxabi.h>
+
+-#ifdef _GLIBCXX_HAVE_SYS_SDT_H
++#if 0 // _GLIBCXX_HAVE_SYS_SDT_H wrongly detected
+ #include <sys/sdt.h>
+ /* We only want to use stap probes starting with v3. Earlier versions
+ added too much startup cost. */