aboutsummaryrefslogtreecommitdiff
path: root/patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-08-15 21:23:08 +0000
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-08-15 21:23:08 +0000
commit7af2ee399f71500e9094b42b07a6a9c2b6775d86 (patch)
tree8c77fc69fbb0392951384f99a161328c79a172f5 /patches/gcc/3.4.6/602-sdk-libstdc++-includes.patch
parent5b7672f931099e0030a29498a2606451a1e71052 (diff)
downloadcrosstool-ng-7af2ee399f71500e9094b42b07a6a9c2b6775d86.tar.gz
crosstool-ng-7af2ee399f71500e9094b42b07a6a9c2b6775d86.tar.bz2
crosstool-ng-7af2ee399f71500e9094b42b07a6a9c2b6775d86.zip
Add patches against gcc-3.4.6. Untested.
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