configure, pc-bios/s390-ccw: pass cross CFLAGS correctly
commit75b244794323c821aee0d928c5731efe9a022425
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2022 09:42:01 +0000 (15 11:42 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jul 2022 07:31:15 +0000 (6 09:31 +0200)
tree134647417379fdfa819c2a56d8d49a46ed9fad35
parent640aabc8ae65f471daf67fdc41fed00d6d795a65
configure, pc-bios/s390-ccw: pass cross CFLAGS correctly

QEMU_CFLAGS is not available in pc-bios/s390-ccw/netboot.mak, but the Makefile
needs to access the flags passed to the configure script for the s390x
cross compiler.  Fix everything and rename QEMU_CFLAGS to EXTRA_CFLAGS for
consistency with tests/tcg.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
pc-bios/s390-ccw/Makefile
pc-bios/s390-ccw/netboot.mak