* updated klickety (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / architecture / avr32 / package / gcc / libstdcpp-with-tag-cc.patch
blob84de69b2b2ae35c5eabe1d12cf4660cf40f78ca6
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: architecture/avr32/package/.../libstdcpp-with-tag-cc.patch
5 # Copyright (C) 2006 - 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
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
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
18 libtool inserts -lstdc++ where it shouldn't, this does not happen with CC tag.
19 -- jsaw
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
23 @@ -417,7 +417,7 @@
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++
26 # compilation driver.
27 -CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared \
28 +CXXLINK = $(LIBTOOL) --tag CC --tag disable-shared \
29 --mode=link $(CXX) \
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
34 @@ -437,7 +437,7 @@
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++
37 # compilation driver.
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 $@
42 debugdir = debug