summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-svn/sdk-libstdc++-includes.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-04-06 12:16:23 -0700
committerKhem Raj <raj.khem@gmail.com>2009-04-06 12:16:23 -0700
commit877fed8078d379d213290b791a8a1282867f5061 (patch)
tree7ff5220fd262e343cc3b70634b41771d14580cdd /recipes/gcc/gcc-svn/sdk-libstdc++-includes.patch
parentfe6822f3e85d5b14586d747c72b4e0395d981ea9 (diff)
gcc-svn: Add recipe to build bleeding edge gcc.
Diffstat (limited to 'recipes/gcc/gcc-svn/sdk-libstdc++-includes.patch')
-rw-r--r--recipes/gcc/gcc-svn/sdk-libstdc++-includes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-svn/sdk-libstdc++-includes.patch b/recipes/gcc/gcc-svn/sdk-libstdc++-includes.patch
new file mode 100644
index 0000000000..4377c2143b
--- /dev/null
+++ b/recipes/gcc/gcc-svn/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
+
+
+