[Buildroot] [PATCH 3/4] luajit: only available on x86(-64) hosts

Peter Korsgaard peter at korsgaard.com
Sun Nov 5 19:20:44 UTC 2017


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

 > On 02-11-17 11:45, Peter Korsgaard wrote:
 >> The -m32 compiler flag is used for 32bit builds and host-luajit has limited
 >> architecture support, so limit to x86(-64) hosts.

 >  I really don't see why this is needed. What we need is that the host and target
 > bitness is the same. On x86_64, we can always do this by compiling with -m32
 > (which is what we do in the .mk file). But I see no reason at all why building
 > for a 32-bit target would not be possible on ARM, MIPS or PowerPC (32-bit).

Correct, I opted for the simplest possible fix as building on !x86
really isn't a very realistic use case.

 >  That said, we can't easily test that and nobody cares anyway, so I've committed
 > with an updated commit message.

Great, thanks!

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list