]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
grep: do_configure: fix "Argument list too long"
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 13 Apr 2017 09:57:26 +0000 (02:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2017 22:57:38 +0000 (23:57 +0100)
Fixed when len(TMPDIR) = 410:
aclocal: error: cannot open echo 'm4_define [snip]' configure.ac |: Argument list too long'

This is becuase it has a lot of m4 files, use relative path for them
can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/grep/grep_3.0.bb

index 6146ef00f30036090d93a18e58717da1e91f038c..b2940d54298fe8ac6a91c8a2fe15cce62439cd1f 100644 (file)
@@ -16,6 +16,9 @@ inherit autotools gettext texinfo pkgconfig
 
 EXTRA_OECONF = "--disable-perl-regexp"
 
+# Fix "Argument list too long" error when len(TMPDIR) = 410
+acpaths = "-I ./m4"
+
 do_configure_prepend () {
        rm -f ${S}/m4/init.m4
 }