guile: 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: 123df94f511cbaad088b25bbbae1f1137f957c7e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Robert Yang 2017-04-06 03:05:54 -07:00 committed by Richard Purdie
parent 8d26272740
commit 7daf525d37
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ SRC_URI[sha256sum] = "e8442566256e1be14e51fc18839cd799b966bc5b16c6a1d7a7c35155a8
inherit autotools gettext pkgconfig texinfo
BBCLASSEXTEND = "native"
# Fix "Argument list too long" error when len(TMPDIR) = 410
acpaths = "-I ./m4"
DEPENDS = "libunistring bdwgc gmp libtool libffi ncurses readline"
# add guile-native only to the target recipe's DEPENDS
DEPENDS_append_class-target = " guile-native libatomic-ops"