From b9b75e6cf31991c046713194f75bc61027558464 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 14 Jun 2012 10:21:07 +0800 Subject: gcc-cross: argument list too long when do_install There would be an "Argument list too long" error when the length of tmpdir is longer than 190, this is caused by: headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u` The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, use the $(sort list) of GNU make which can handle the too long list would fix the problem, the header would be short enough after sorted. The "tr ' ' '\012'" was used for translating the space to "\n", the $(sort list) doesn't need this. This doesn't impact the output, so it doesn't need the PR bump. [YOCTO #2591] Signed-off-by: Robert Yang --- meta/recipes-devtools/gcc/gcc-4.7.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/gcc/gcc-4.7.inc') diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index 973c211fdb..34a73b1731 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc @@ -66,6 +66,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://cpp-honor-sysroot.patch \ file://mips64-default-n64.patch \ file://arm-hard-float-loader.patch \ + file://gcc-argument-list-too-long.patch \ " S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}" -- cgit 1.2.3-korg