diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-04-06 03:05:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:43 +0100 |
commit | 8d26272740ebf316c2f2368257273c92e01a1af5 (patch) | |
tree | 6e8a6af37a9921bd437423565736226277d11636 /meta/recipes-devtools/m4 | |
parent | af440a00c55c3cc00fb1d7a14ad1a07918d8d2a4 (diff) | |
download | poky-8d26272740ebf316c2f2368257273c92e01a1af5.tar.gz |
m4: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) = 410:
Can't exec "/bin/sh": Argument list too long at /usr/lib/perl/5.18/IO/File.pm line 65.
This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.
(From OE-Core rev: 7e8fece3a09bed18bc72c529b8b471ccbc144bf5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/m4')
-rw-r--r-- | meta/recipes-devtools/m4/m4-1.4.18.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/m4/m4-1.4.18.inc b/meta/recipes-devtools/m4/m4-1.4.18.inc index 5652b74308..d7c8648577 100644 --- a/meta/recipes-devtools/m4/m4-1.4.18.inc +++ b/meta/recipes-devtools/m4/m4-1.4.18.inc | |||
@@ -15,5 +15,8 @@ SRC_URI_append_class-target = "\ | |||
15 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ | 15 | file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ |
16 | " | 16 | " |
17 | 17 | ||
18 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
19 | acpaths = "-I ./m4" | ||
20 | |||
18 | SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28" | 21 | SRC_URI[md5sum] = "a077779db287adf4e12a035029002d28" |
19 | SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab" | 22 | SRC_URI[sha256sum] = "ab2633921a5cd38e48797bf5521ad259bdc4b979078034a3b790d7fec5493fab" |