[git] Updated (1.5.5.1 -> 1.5.5.4)
[opensde-package-nopast.git] / base / gcc / libstdcpp-with-tag-cc.patch
blob174c698cfb76dbcfcb1befcdafff7bb7a6613dea
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../gcc/libstdcpp-with-tag-cc.patch
5 # Copyright (C) 2006 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
14 # version.
15 # --- SDE-COPYRIGHT-NOTE-END ---
18 libtool inserts -lstdc++ where it shouldn't, this does not happen with CC tag.
19 -- jsaw
21 --- gcc-4.0.2/libstdc++-v3/libsupc++/Makefile.in.orig 2006-01-10 13:38:15.000000000 +0100
22 +++ gcc-4.0.2/libstdc++-v3/libsupc++/Makefile.in 2006-01-10 14:06:07.000000000 +0100
23 @@ -400,7 +400,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) $(LDFLAGS) -o $@
32 --- gcc-4.0.2/libstdc++-v3/src/Makefile.in.orig 2006-01-10 14:20:28.000000000 +0100
33 +++ gcc-4.0.2/libstdc++-v3/src/Makefile.in 2006-01-10 14:21:28.000000000 +0100
34 @@ -404,7 +404,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) $(LDFLAGS) -o $@
42 debugdir = debug