[Buildroot] [PATCH] gcc: don't patch gcc if there are no patches to apply

Peter Korsgaard jacmet at uclibc.org
Mon Nov 11 22:21:17 UTC 2013


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

> On 11/11/13 22:59, Peter Korsgaard wrote:
>>>>>>> "Mischa" == Mischa Jonker <Mischa.Jonker at synopsys.com> writes:
>> 
>>> While the generic package handler checks for a directory with patches
>>> before starting apply-patches.sh, this is not the case for gcc: the
>>> script is called, even if there is no directory with patches. This results
>>> into a build failure, as apply-patches exits with error code 1 if the
>>> directory doesn't exist.
>> 
>> Arnout already posted another patch solving the same issue, but I prefer
>> this one for 2013.11 - So committed, thanks.

>  Should I refresh my patch on top of this or do you want to drop my patch?

I think it's still a better aproach long term (especially if/when we get
out-of-tree support), so yes - Please do.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list