diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-12-05 06:54:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 10:31:30 +0000 |
commit | 4ee082f60c4a3736ecd125aacd7fa490b5041966 (patch) | |
tree | dfe166901ec30553632ef23bf79b9a5cd44b3b52 /meta/recipes-extended | |
parent | c03d02f918256eab51e13b7237e2964e8004acc9 (diff) | |
download | poky-4ee082f60c4a3736ecd125aacd7fa490b5041966.tar.gz |
diffutils: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo [snip]: Argument list too long
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
It doesn't happen when MACHINE="qemux86", I think it is because
intel-x86-64 is longer than qemux86.
(From OE-Core rev: 5210ccd61ef52a191454a4587cfeb22079df746d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/diffutils/diffutils_3.5.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.5.bb b/meta/recipes-extended/diffutils/diffutils_3.5.bb index 673f5d46ca..243584be01 100644 --- a/meta/recipes-extended/diffutils/diffutils_3.5.bb +++ b/meta/recipes-extended/diffutils/diffutils_3.5.bb | |||
@@ -10,6 +10,9 @@ SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \ | |||
10 | 10 | ||
11 | EXTRA_OECONF += "--without-libsigsegv-prefix" | 11 | EXTRA_OECONF += "--without-libsigsegv-prefix" |
12 | 12 | ||
13 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
14 | acpaths = "-I ./m4" | ||
15 | |||
13 | do_configure_prepend () { | 16 | do_configure_prepend () { |
14 | # Need to remove gettext macros with weird mix of versions | 17 | # Need to remove gettext macros with weird mix of versions |
15 | for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do | 18 | for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do |