[oe-commits] Henning Heinold : gcc: fix patching of gcc-3.4.x series

git version control git at git.openembedded.org
Wed Jul 7 21:14:23 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: af6fac4f74b3b2b6c11e73870f84e3af7562d385
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=af6fac4f74b3b2b6c11e73870f84e3af7562d385

Author: Henning Heinold <h.heinold at tarent.de>
Date:   Wed Jul  7 13:59:35 2010 +0200

gcc: fix patching of gcc-3.4.x series

---

 recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch |   13 +++++++++++++
 recipes/gcc/gcc-4.3.1.inc                         |    2 +-
 recipes/gcc/gcc-4.3.2.inc                         |    2 +-
 recipes/gcc/gcc-4.3.4.inc                         |    2 +-
 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 0000000..b375336
--- /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 04c0246..c0c7dbe 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 a3ef606..a587349 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 b9531d5..8947a8d 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 \
 "
 





More information about the Openembedded-commits mailing list