summaryrefslogtreecommitdiffstats
path: root/gcc45-cross-libstdc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc45-cross-libstdc.patch')
-rw-r--r--gcc45-cross-libstdc.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc45-cross-libstdc.patch b/gcc45-cross-libstdc.patch
new file mode 100644
index 0000000..1b57748
--- /dev/null
+++ b/gcc45-cross-libstdc.patch
@@ -0,0 +1,22 @@
+--- a/libstdc++-v3/configure 2011-02-15 19:21:13.116765002 -0600
++++ b/libstdc++-v3/configure 2011-02-15 19:38:24.217766630 -0600
+@@ -44576,7 +44576,7 @@
+ ;;
+ esac
+ ;;
+- *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
++ *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
+
+ # All these tests are for C++; save the language and the compiler flags.
+ # The CXXFLAGS thing is suspicious, but based on similar bits previously
+--- a/libstdc++-v3/crossconfig.m4 2011-02-15 19:21:04.613764980 -0600
++++ b/libstdc++-v3/crossconfig.m4 2011-02-15 19:37:43.586763549 -0600
+@@ -141,7 +141,7 @@
+ ;;
+ esac
+ ;;
+- *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
++ *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
+ GLIBCXX_CHECK_COMPILER_FEATURES
+ GLIBCXX_CHECK_LINKER_FEATURES
+ GLIBCXX_CHECK_MATH_SUPPORT