summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-24 20:30:37 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-24 20:30:37 +0000
commit87796f6ce02df30375057fac934685d109f99be3 (patch)
tree419fb9887ca981ada36fc0071c8078f35d4f82f2 /meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch
parentf9651fac68352c9cfa6c616ae50f711c32e7bf32 (diff)
downloadopenembedded-core-87796f6ce02df30375057fac934685d109f99be3.tar.gz
openembedded-core-87796f6ce02df30375057fac934685d109f99be3.tar.bz2
openembedded-core-87796f6ce02df30375057fac934685d109f99be3.zip
gcc: Add toolchain build process changes from OE which adds gcc-cross-intermediate and removes glibc-intermediate based on a patch from Khem Raj as will be aplied to OE.dev making the build process much more rebust/stable/correct.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4943 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch')
-rw-r--r--meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch b/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch
new file mode 100644
index 0000000000..f3f7048b8a
--- /dev/null
+++ b/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch
@@ -0,0 +1,21 @@
+---
+ gcc/config/i386/linux.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+Index: gcc-3.4.4/gcc/config/i386/linux.h
+===================================================================
+--- gcc-3.4.4.orig/gcc/config/i386/linux.h 2008-07-17 23:40:00.000000000 -0700
++++ gcc-3.4.4/gcc/config/i386/linux.h 2008-07-17 23:40:41.000000000 -0700
+@@ -218,6 +218,7 @@ Boston, MA 02111-1307, USA. */
+ /* Do code reading to identify a signal frame, and set the frame
+ state data appropriately. See unwind-dw2.c for the structs. */
+
++#ifndef inhibit_libc
+ #ifdef IN_LIBGCC2
+ /* There's no sys/ucontext.h for some (all?) libc1, so no
+ signal-turned-exceptions for them. There's also no configure-run for
+@@ -282,3 +283,4 @@ Boston, MA 02111-1307, USA. */
+ } while (0)
+ #endif /* not USE_GNULIBC_1 */
+ #endif /* IN_LIBGCC2 */
++#endif