]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: add support for --cross-cc-FOO
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 4 Apr 2018 19:27:05 +0000 (20:27 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Jun 2018 19:22:20 +0000 (20:22 +0100)
commitd75402b5ee297291555ac9ce806507e79bbf6bf3
tree2c0fef328a4454274dcd323927256a44e44a8d4b
parent7a5d936b6fc0cf262db86af0df7999ac904f8495
configure: add support for --cross-cc-FOO

This allows us to specify cross compilers for our guests. This is
useful for building test images/programs. Currently we re-run the
compile test for each target. I couldn't think of a way to cache the
value for a given arch without getting messier configure code.

The cross compiler for the guest is visible to each target as
CROSS_CC_GUEST in config-target.mak. This is quoted to handle the case
of --cc="ccache gcc".

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
configure