From af6fac4f74b3b2b6c11e73870f84e3af7562d385 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 7 Jul 2010 13:59:35 +0200 Subject: 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(-) create mode 100644 recipes/gcc/files/gcc-4.3.x-fix-EXTRA_BUILD.patch (limited to 'recipes/gcc') 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 \ " -- cgit 1.2.3-korg