[Buildroot] [PATCH v3 RESEND-2] pkg-infra: make sure cross compiling is enabled when host == target

Peter Korsgaard jacmet at uclibc.org
Thu Oct 4 20:50:45 UTC 2012


>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:

 Arnout> When compiling for the same architecture and libc as the host,
 Arnout> GNU_TARGET_NAME and GNU_HOST_NAME are equal.  configure scripts use
 Arnout> these to detect cross-compilation, and will decide that we're doing
 Arnout> native compilation.  This may trigger running of executables,
 Arnout> which fail because of missing libraries in the host environment.

 Arnout> To solve this, set the vendor part in GNU_TARGET_NAME to buildroot.

 Arnout> This problem exists for instance in xserver_xorg-server on x86_64.

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list