You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.8 KiB
42 lines
1.8 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../gcc/libstdcpp-with-tag-cc.patch |
|
# Copyright (C) 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 --- |
|
|
|
|
|
libtool inserts -lstdc++ where it shouldn't, this does not happen with CC tag. |
|
-- jsaw |
|
|
|
--- gcc-4.0.2/libstdc++-v3/libsupc++/Makefile.in.orig 2006-01-10 13:38:15.000000000 +0100 |
|
+++ gcc-4.0.2/libstdc++-v3/libsupc++/Makefile.in 2006-01-10 14:06:07.000000000 +0100 |
|
@@ -400,7 +400,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) $(LDFLAGS) -o $@ |
|
|
|
--- gcc-4.0.2/libstdc++-v3/src/Makefile.in.orig 2006-01-10 14:20:28.000000000 +0100 |
|
+++ gcc-4.0.2/libstdc++-v3/src/Makefile.in 2006-01-10 14:21:28.000000000 +0100 |
|
@@ -404,7 +404,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) $(LDFLAGS) -o $@ |
|
|
|
debugdir = debug
|
|
|