]> git.proxmox.com Git - mirror_qemu.git/commit
configure: use cc, not host_cc to set cross_cc for build arch
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 May 2021 10:20:51 +0000 (11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:36:21 +0000 (09:36 +0100)
commitb1aa4de12e846e0ad18969ee823c19b66d8d4d8f
tree51343fade76c4fc41539247ab82d9c690228a291
parentcf22f936f29bc1ee8fff5fbc16064208571a448c
configure: use cc, not host_cc to set cross_cc for build arch

Otherwise you run into hilarity like trying when cross compiling a 32
bit ARM build on a 64 bit system trying to use host_cc to build 32 bit
test cases.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-32-alex.bennee@linaro.org>
configure