Fix warnings
[openwrt.git] / toolchain / gcc / patches / 3.4.5 / 602-sdk-libstdc++-includes.patch
1 --- gcc-3.4.1/libstdc++-v3/libmath/Makefile.am~ 2003-08-27 22:29:42.000000000 +0100
2 +++ gcc-3.4.1/libstdc++-v3/libmath/Makefile.am  2004-07-22 16:41:45.152130128 +0100
3 @@ -32,7 +32,7 @@
4  
5  libmath_la_SOURCES = stubs.c
6  
7 -AM_CPPFLAGS = $(CANADIAN_INCLUDES)
8 +AM_CPPFLAGS = $(CANADIAN_INCLUDES) -I$(toplevel_srcdir)/include
9  
10  # Only compiling "C" sources in this directory.
11  LIBTOOL = @LIBTOOL@ --tag CC
12 --- gcc-3.4.1/libstdc++-v3/fragment.am.old      2004-07-22 18:24:58.024083656 +0100
13 +++ gcc-3.4.1/libstdc++-v3/fragment.am  2004-07-22 18:24:59.019932264 +0100
14 @@ -18,7 +18,7 @@
15         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
16  
17  # -I/-D flags to pass when compiling.
18 -AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
19 +AM_CPPFLAGS = $(GLIBCXX_INCLUDES) -I$(toplevel_srcdir)/include
20  
21  
22