diff options
Diffstat (limited to 'packages/gcc/gcc-4.2.4')
-rw-r--r-- | packages/gcc/gcc-4.2.4/cppdefault_cross.patch | 12 | ||||
-rw-r--r-- | packages/gcc/gcc-4.2.4/sh_unwind.patch | 18 |
2 files changed, 30 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.4/cppdefault_cross.patch b/packages/gcc/gcc-4.2.4/cppdefault_cross.patch new file mode 100644 index 0000000000..dfdbeb32cf --- /dev/null +++ b/packages/gcc/gcc-4.2.4/cppdefault_cross.patch @@ -0,0 +1,12 @@ +Index: gcc-4.2.4/gcc/cppdefault.c +=================================================================== +--- gcc-4.2.4.orig/gcc/cppdefault.c 2008-10-04 00:07:13.161548578 +0200 ++++ gcc-4.2.4/gcc/cppdefault.c 2008-10-04 00:07:32.548205652 +0200 +@@ -39,6 +39,7 @@ + # undef STANDARD_INCLUDE_DIR + #else + # undef CROSS_INCLUDE_DIR ++# undef STANDARD_INCLUDE_DIR + #endif + + const struct default_include cpp_include_defaults[] diff --git a/packages/gcc/gcc-4.2.4/sh_unwind.patch b/packages/gcc/gcc-4.2.4/sh_unwind.patch new file mode 100644 index 0000000000..94921636bc --- /dev/null +++ b/packages/gcc/gcc-4.2.4/sh_unwind.patch @@ -0,0 +1,18 @@ +Index: gcc-4.2.4/gcc/config/sh/linux-unwind.h +=================================================================== +--- gcc-4.2.4.orig/gcc/config/sh/linux-unwind.h 2008-10-04 00:05:29.434889757 +0200 ++++ gcc-4.2.4/gcc/config/sh/linux-unwind.h 2008-10-04 00:06:02.594883544 +0200 +@@ -26,6 +26,7 @@ + the Free Software Foundation, 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + ++#ifndef inhibit_libc + /* Do code reading to identify a signal frame, and set the frame + state data appropriately. See unwind-dw2.c for the structs. */ + +@@ -251,3 +252,5 @@ + return _URC_NO_REASON; + } + #endif /* defined (__SH5__) */ ++ ++#endif /* defined inhibit_libc */ |