summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc/files/3.4.1/gcc-3.4.1-glibc-is-native.patch')
-rw-r--r--sys-devel/gcc/files/3.4.1/gcc-3.4.1-glibc-is-native.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/3.4.1/gcc-3.4.1-glibc-is-native.patch b/sys-devel/gcc/files/3.4.1/gcc-3.4.1-glibc-is-native.patch
new file mode 100644
index 000000000000..8bd8ca9d279a
--- /dev/null
+++ b/sys-devel/gcc/files/3.4.1/gcc-3.4.1-glibc-is-native.patch
@@ -0,0 +1,19 @@
+--- gcc-3.4.1.old/libstdc++-v3/configure.ac 2004-08-11 09:17:51.817618280 -0400
++++ gcc-3.4.1/libstdc++-v3/configure.ac 2004-08-11 09:30:10.708289824 -0400
+@@ -39,13 +39,9 @@
+ # Handy for debugging:
+ #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
+
+-if test "$build" != "$host"; then
+- # We are being configured with some form of cross compiler.
+- GLIBCXX_IS_NATIVE=false
+- GCC_NO_EXECUTABLES
+-else
+- GLIBCXX_IS_NATIVE=true
+-fi
++# it seems this gcc always gets this check wrong for multilib on gentoo, so
++# lets force it to the value it should be.
++GLIBCXX_IS_NATIVE=true
+
+ # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
+ # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.