From: Robert Yang Date: Thu, 13 Apr 2017 09:57:26 +0000 (-0700) Subject: grep: do_configure: fix "Argument list too long" X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21620 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=081974e75cc0cfa0a1a1bb01cd9f9cbc585b7692;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git grep: do_configure: fix "Argument list too long" 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/grep/grep_3.0.bb b/meta/recipes-extended/grep/grep_3.0.bb index 6146ef00f30..b2940d54298 100644 --- a/meta/recipes-extended/grep/grep_3.0.bb +++ b/meta/recipes-extended/grep/grep_3.0.bb @@ -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 }