Peter Maydell <peter.mayd...@linaro.org> writes:

> On 28 May 2014 09:46, Cornelia Huck <cornelia.h...@de.ibm.com> wrote:
>> The check for big or little endianness relies on grep reporting
>> match/non-match on the generated binary. If the user specified
>> --binary-files=without-match in their GREP_OPTIONS, this will fail.
>> Let's just explicitly specify --binary-files=binary, which will
>> override any user settings and do what we want.
>
> This grep option isn't specified by POSIX so I'm not sure all the hosts
> we build on will have it. Maybe it would be better to just unset
> GREP_OPTIONS at the top of configure ?

That's what autoconf does:

    # Unset more variables known to interfere with behavior of common tools.
    CLICOLOR_FORCE= GREP_OPTIONS=
    unset CLICOLOR_FORCE GREP_OPTIONS

Reply via email to