gcc: fix patching of gcc-3.4.x series
authorHenning Heinold <h.heinold@tarent.de>
Wed, 7 Jul 2010 11:59:35 +0000 (13:59 +0200)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Wed, 7 Jul 2010 21:13:51 +0000 (23:13 +0200)
recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch [new file with mode: 0644]
recipes/gcc/gcc-4.3.1.inc
recipes/gcc/gcc-4.3.2.inc
recipes/gcc/gcc-4.3.4.inc

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 (file)
index 0000000..b375336
--- /dev/null
@@ -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@
index 04c0246..c0c7dbe 100644 (file)
@@ -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 \
 "
 
index a3ef606..a587349 100644 (file)
@@ -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 \
 "
 
index b9531d5..8947a8d 100644 (file)
@@ -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 \
 "