summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-07 10:51:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-12 14:10:34 +0100
commit59443380286010eda07f1434e918a3af8c8a31a9 (patch)
tree4ac44bb58ea370ddbaa75c2c90f9e68486b8358a /meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch
parent854dc1c3c503e59cdd603d3319d143e18ce77840 (diff)
downloadopenembedded-core-59443380286010eda07f1434e918a3af8c8a31a9.tar.gz
openembedded-core-59443380286010eda07f1434e918a3af8c8a31a9.tar.bz2
openembedded-core-59443380286010eda07f1434e918a3af8c8a31a9.tar.xz
openembedded-core-59443380286010eda07f1434e918a3af8c8a31a9.zip
gcc: Drop old version 4.5.1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch
deleted file mode 100644
index 1da869933..000000000
--- a/meta/recipes-devtools/gcc/gcc-4.5.1/optional_libstdc.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Upstream-Status: Inappropriate [embedded specific]
-
-gcc-runtime builds libstdc++ separately from gcc-cross-*. Its configure tests using g++
-will not run correctly since my default the linker will try and link against libstdc++
-which shouldn't exist yet. We need an option to disable the automatically added -lstdc++
-option whilst leaving -lc, -lgcc and other automatic library dependencies. This patch
-adds such an option which only disables the -lstdc++ linkage.
-
-A "standard" gcc build uses xgcc and hence avoids this. We should ask upstream how to
-do this officially, the likely answer is don't build libstdc++ separately.
-
-RP 29/6/10
-
-Index: gcc-4.3.3/gcc/cp/g++spec.c
-===================================================================
---- gcc-4.3.3.orig/gcc/cp/g++spec.c 2010-06-29 00:06:03.901695025 +0100
-+++ gcc-4.3.3/gcc/cp/g++spec.c 2010-06-29 00:06:58.800325439 +0100
-@@ -131,6 +131,7 @@
- if (argv[i][0] == '-')
- {
- if (strcmp (argv[i], "-nostdlib") == 0
-+ || strcmp (argv[i], "-nostdlib++") == 0
- || strcmp (argv[i], "-nodefaultlibs") == 0)
- {
- library = -1;