diff options
author | 2005-03-04 04:34:27 +0000 | |
---|---|---|
committer | 2005-03-04 04:34:27 +0000 | |
commit | d196c58f4e1c70bb4557a7a40ae4136063b3fe85 (patch) | |
tree | 749a13edac375231d113cc51fe7659e6ed8e2df0 | |
parent | fix --stage# parameters to work (diff) | |
download | gentoo-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.patch | 15 |
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 */ |