summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.7.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-06-14 10:21:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-18 13:16:36 +0100
commitb9b75e6cf31991c046713194f75bc61027558464 (patch)
tree235bf6310e4590018635daed1cc91614b0802b4a /meta/recipes-devtools/gcc/gcc-4.7.inc
parentc44a459dbbcbdddf5488cbc3df03f568f44cff83 (diff)
downloadopenembedded-core-contrib-b9b75e6cf31991c046713194f75bc61027558464.tar.gz
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 <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.7.inc1
1 files changed, 1 insertions, 0 deletions
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}"