mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-04 09:04:39 -07:00
configure: pass correct cflags to container-based cross compilers
probe_target_compiler returns nonempty $target_cc for installed toolchains
and $container_cross_cc for container-based toolchains. In both cases
however the flags (coming from $cross_cc_cflags_${target_arch}) must be
in $target_cflags.
Therefore, do not clear them prior to returning from probe_target_compiler.
Reported-by: Taylor Simpson <tsimpson@quicinc.com>
Fixes: 92e288fcfb ("build: try both native and cross compilers", 2022-07-08)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
47c182fe8b
commit
ebc55f523c
1 changed files with 0 additions and 1 deletions
1
configure
vendored
1
configure
vendored
|
|
@ -2173,7 +2173,6 @@ probe_target_compiler() {
|
|||
build_static=
|
||||
target_cc=
|
||||
target_ccas=
|
||||
target_cflags=
|
||||
target_ar=
|
||||
target_as=
|
||||
target_ld=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue