1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: architecture/avr32/package/.../libstdcpp-with-tag-cc.patch
5 # Copyright (C) 2006 - 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
18 libtool inserts -lstdc++ where it shouldn't, this does not happen with CC tag.
21 --- gcc-4.2.2.atmel.1.0.8/libstdc++-v3/libsupc++/Makefile.in.orig 2008-04-03 07:57:50.000000000 +0200
22 +++ gcc-4.2.2.atmel.1.0.8/libstdc++-v3/libsupc++/Makefile.in 2008-10-30 13:38:59.000000000 +0100
24 # course is problematic at this point. So, we get the top-level
25 # directory to configure libstdc++-v3 to use gcc as the C++
27 -CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
28 +CXXLINK = $(LIBTOOL) --tag CC --tag disable-shared \
30 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
32 --- gcc-4.2.2.atmel.1.0.8/libstdc++-v3/src/Makefile.in.orig 2008-04-03 07:57:50.000000000 +0200
33 +++ gcc-4.2.2.atmel.1.0.8/libstdc++-v3/src/Makefile.in 2008-10-30 13:40:11.000000000 +0100
35 # course is problematic at this point. So, we get the top-level
36 # directory to configure libstdc++-v3 to use gcc as the C++
38 -CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
39 +CXXLINK = $(LIBTOOL) --tag CC --mode=link $(CXX) \
40 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@