summaryrefslogtreecommitdiff
path: root/openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-03-10 13:31:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-03-10 13:31:04 +0000
commit462633e3a1ff03b85caebd3d9f5e915399c80f36 (patch)
treec25df81f325906e227619590a17eeee38f0ba529 /openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch
parent7d30ebb076bb07240feaf25418ac251c5f5f2e1e (diff)
downloadmtk-20170518-462633e3a1ff03b85caebd3d9f5e915399c80f36.zip
mtk-20170518-462633e3a1ff03b85caebd3d9f5e915399c80f36.tar.gz
mtk-20170518-462633e3a1ff03b85caebd3d9f5e915399c80f36.tar.bz2
add gcc 3.4.6
SVN-Revision: 3343
Diffstat (limited to 'openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch')
-rw-r--r--openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch b/openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch
new file mode 100644
index 0000000..4377c21
--- /dev/null
+++ b/openwrt/toolchain/gcc/3.4.6/602-sdk-libstdc++-includes.patch
@@ -0,0 +1,22 @@
+--- gcc-3.4.1/libstdc++-v3/libmath/Makefile.am~ 2003-08-27 22:29:42.000000000 +0100
++++ gcc-3.4.1/libstdc++-v3/libmath/Makefile.am 2004-07-22 16:41:45.152130128 +0100
+@@ -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
+--- gcc-3.4.1/libstdc++-v3/fragment.am.old 2004-07-22 18:24:58.024083656 +0100
++++ gcc-3.4.1/libstdc++-v3/fragment.am 2004-07-22 18:24:59.019932264 +0100
+@@ -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
+
+
+