# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: architecture/avr32/package/.../libstdcpp-with-tag-cc.patch # Copyright (C) 2006 - 2008 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. # --- T2-COPYRIGHT-NOTE-END --- libtool inserts -lstdc++ where it shouldn't, this does not happen with CC tag. -- jsaw --- gcc-4.2.2.atmel.1.0.8/libstdc++-v3/libsupc++/Makefile.in.orig 2008-04-03 07:57:50.000000000 +0200 +++ gcc-4.2.2.atmel.1.0.8/libstdc++-v3/libsupc++/Makefile.in 2008-10-30 13:38:59.000000000 +0100 @@ -417,7 +417,7 @@ # course is problematic at this point. So, we get the top-level # directory to configure libstdc++-v3 to use gcc as the C++ # compilation driver. -CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \ +CXXLINK = $(LIBTOOL) --tag CC --tag disable-shared \ --mode=link $(CXX) \ $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ --- gcc-4.2.2.atmel.1.0.8/libstdc++-v3/src/Makefile.in.orig 2008-04-03 07:57:50.000000000 +0200 +++ gcc-4.2.2.atmel.1.0.8/libstdc++-v3/src/Makefile.in 2008-10-30 13:40:11.000000000 +0100 @@ -437,7 +437,7 @@ # course is problematic at this point. So, we get the top-level # directory to configure libstdc++-v3 to use gcc as the C++ # compilation driver. -CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \ +CXXLINK = $(LIBTOOL) --tag CC --mode=link $(CXX) \ $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@ debugdir = debug