aboutsummaryrefslogtreecommitdiff
path: root/patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch')
-rw-r--r--patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch b/patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch
new file mode 100644
index 00000000..f599b594
--- /dev/null
+++ b/patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch
@@ -0,0 +1,24 @@
+diff -durN gcc-3.4.6.orig/libstdc++-v3/fragment.am gcc-3.4.6/libstdc++-v3/fragment.am
+--- gcc-3.4.6.orig/libstdc++-v3/fragment.am 2003-08-27 02:38:28.000000000 +0200
++++ gcc-3.4.6/libstdc++-v3/fragment.am 2007-08-15 22:59:09.000000000 +0200
+@@ -18,7 +18,7 @@
+ $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
+
+ # -I/-D flags to pass when compiling.
+-AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
++AM_CPPFLAGS = $(GLIBCXX_INCLUDES) -I$(toplevel_srcdir)/include
+
+
+
+diff -durN gcc-3.4.6.orig/libstdc++-v3/libmath/Makefile.am gcc-3.4.6/libstdc++-v3/libmath/Makefile.am
+--- gcc-3.4.6.orig/libstdc++-v3/libmath/Makefile.am 2003-08-27 23:29:43.000000000 +0200
++++ gcc-3.4.6/libstdc++-v3/libmath/Makefile.am 2007-08-15 22:59:09.000000000 +0200
+@@ -32,7 +32,7 @@
+
+ libmath_la_SOURCES = stubs.c
+
+-AM_CPPFLAGS = $(CANADIAN_INCLUDES)
++AM_CPPFLAGS = $(CANADIAN_INCLUDES) -I$(toplevel_srcdir)/include
+
+ # Only compiling "C" sources in this directory.
+ LIBTOOL = @LIBTOOL@ --tag CC