|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../uclibc/pkg_patch/gcc-602-sdk-libstdc++-includes.patch
|
|
|
|
# Copyright (C) 2006 The OpenSDE Project
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
|
|
# of the GNU General Public License as published by the Free Software
|
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
|
|
# version.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
diff -urN gcc-4.0.0-100/libstdc++-v3/fragment.am gcc-4.0.0/libstdc++-v3/fragment.am
|
|
|
|
--- gcc-4.0.0-100/libstdc++-v3/fragment.am 2004-10-25 15:32:40.000000000 -0500
|
|
|
|
+++ gcc-4.0.0/libstdc++-v3/fragment.am 2005-04-28 21:48:43.000000000 -0500
|
|
|
|
@@ -18,5 +18,5 @@
|
|
|
|
$(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 -urN gcc-4.0.0-100/libstdc++-v3/libmath/Makefile.am gcc-4.0.0/libstdc++-v3/libmath/Makefile.am
|
|
|
|
--- gcc-4.0.0-100/libstdc++-v3/libmath/Makefile.am 2003-08-27 16:29:42.000000000 -0500
|
|
|
|
+++ gcc-4.0.0/libstdc++-v3/libmath/Makefile.am 2005-04-28 21:48:43.000000000 -0500
|
|
|
|
@@ -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
|