aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc
diff options
context:
space:
mode:
authorHenning Heinold <h.heinold@tarent.de>2010-07-07 13:59:35 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2010-07-07 23:13:51 +0200
commitaf6fac4f74b3b2b6c11e73870f84e3af7562d385 (patch)
treeaf1a4b081f47949fb44089b11f0ea76a508e4c1e /recipes/gcc
parent12f66ff3a39d4bd52baff5d85c071c7bb87499f8 (diff)
downloadopenembedded-af6fac4f74b3b2b6c11e73870f84e3af7562d385.tar.gz
openembedded-af6fac4f74b3b2b6c11e73870f84e3af7562d385.tar.bz2
openembedded-af6fac4f74b3b2b6c11e73870f84e3af7562d385.zip
gcc: fix patching of gcc-3.4.x series
Diffstat (limited to 'recipes/gcc')
-rw-r--r--recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch13
-rw-r--r--recipes/gcc/gcc-4.3.1.inc2
-rw-r--r--recipes/gcc/gcc-4.3.2.inc2
-rw-r--r--recipes/gcc/gcc-4.3.4.inc2
4 files changed, 16 insertions, 3 deletions
diff --git a/recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch b/recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch
new file mode 100644
index 0000000000..b3753364f8
--- /dev/null
+++ b/recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.3.1/Makefile.in
+===================================================================
+--- gcc-4.3.1.orig/Makefile.in 2010-07-07 13:08:44.000000000 +0200
++++ gcc-4.3.1/Makefile.in 2010-07-07 13:11:59.246625709 +0200
+@@ -149,7 +149,7 @@
+ EXTRA_BUILD_FLAGS = \
+ CFLAGS="$(CFLAGS_FOR_BUILD)" \
+ LDFLAGS="$(LDFLAGS_FOR_BUILD)" \
+- LIBCFLAGS=""
++ LIBCFLAGS="$(CFLAGS_FOR_BUILD)"
+
+ # This is the list of directories to built for the host system.
+ SUBDIRS = @configdirs@
diff --git a/recipes/gcc/gcc-4.3.1.inc b/recipes/gcc/gcc-4.3.1.inc
index 04c0246785..c0c7dbefbd 100644
--- a/recipes/gcc/gcc-4.3.1.inc
+++ b/recipes/gcc/gcc-4.3.1.inc
@@ -61,7 +61,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
file://gcc-4.3.1-SYSROOT_CFLAGS_FOR_TARGET.patch \
file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
file://zecke-xgcc-cpp.patch \
- file://gcc-4.3.3-fix-EXTRA_BUILD.patch \
+ file://gcc-4.3.x-fix-EXTRA_BUILD.patch \
file://gcc-flags-for-build.patch \
"
diff --git a/recipes/gcc/gcc-4.3.2.inc b/recipes/gcc/gcc-4.3.2.inc
index a3ef606d6c..a5873496d1 100644
--- a/recipes/gcc/gcc-4.3.2.inc
+++ b/recipes/gcc/gcc-4.3.2.inc
@@ -57,7 +57,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
file://gcc-4.3.2-SYSROOT_CFLAGS_FOR_TARGET.patch \
file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
file://zecke-xgcc-cpp.patch \
- file://gcc-4.3.3-fix-EXTRA_BUILD.patch \
+ file://gcc-4.3.x-fix-EXTRA_BUILD.patch \
file://gcc-flags-for-build.patch \
"
diff --git a/recipes/gcc/gcc-4.3.4.inc b/recipes/gcc/gcc-4.3.4.inc
index b9531d5e36..8947a8d4df 100644
--- a/recipes/gcc/gcc-4.3.4.inc
+++ b/recipes/gcc/gcc-4.3.4.inc
@@ -57,7 +57,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
file://gcc-4.3.4-SYSROOT_CFLAGS_FOR_TARGET.patch \
file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
file://zecke-xgcc-cpp.patch \
- file://gcc-4.3.3-fix-EXTRA_BUILD.patch \
+ file://gcc-4.3.x-fix-EXTRA_BUILD.patch \
file://gcc-flags-for-build.patch \
"