[Buildroot] [PATCH/next] toolchain-external: support gcc < 4.3

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 24 08:48:41 UTC 2016


Hello,

On Thu, 24 Nov 2016 09:39:13 +0100, Arnout Vandecappelle wrote:

> >> When [BR2_TOOLCHAIN_GCC_AT_LEAST] is
> >> empty, we don't do a version check at all in check_gcc_version.
> >>
> >>  Perhaps I should add to that "(previously we errored out)".  
> > 
> > Well, we're still erroring out, but with a 0 exit code. So I must be
> > missing something.  
> 
>  0 is not an error, right?

Hum, right. I think what confused me is that "exit 0" doesn't abort the
build. It exists the sub-shell started by make, with a zero exit code,
so make continues the build. I was thinking it would abort the build
completely, which is why I was confused.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list