summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-04 04:34:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-04 04:34:27 +0000
commitd196c58f4e1c70bb4557a7a40ae4136063b3fe85 (patch)
tree749a13edac375231d113cc51fe7659e6ed8e2df0
parentfix --stage# parameters to work (diff)
downloadgentoo-2-d196c58f4e1c70bb4557a7a40ae4136063b3fe85.tar.gz
gentoo-2-d196c58f4e1c70bb4557a7a40ae4136063b3fe85.tar.bz2
gentoo-2-d196c58f4e1c70bb4557a7a40ae4136063b3fe85.zip
fix alpha cross-compiling
(Portage version: 2.0.51.19)
-rw-r--r--sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch b/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch
index 5a5a0dfb17f4..420a682df682 100644
--- a/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch
+++ b/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch
@@ -46,3 +46,18 @@
#endif /* not USE_GNULIBC_1 */
#endif /* IN_LIBGCC2 */
+#endif /* inhibit_libc */
+--- gcc/config/alpha/linux.h
++++ gcc/config/alpha/linux.h
+@@ -78,6 +78,7 @@
+ /* 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
+ #include <signal.h>
+ #include <sys/ucontext.h>
+@@ -127,3 +128,4 @@
+ (FS)->retaddr_column = 64; \
+ goto SUCCESS; \
+ } while (0)
++#endif /* inhibit_libc */