diff options
author | Paolo Bonzini | 2022-06-15 11:42:01 +0200 |
---|---|---|
committer | Paolo Bonzini | 2022-07-06 09:31:15 +0200 |
commit | 75b244794323c821aee0d928c5731efe9a022425 (patch) | |
tree | 134647417379fdfa819c2a56d8d49a46ed9fad35 /configure | |
parent | configure, pc-bios/optionrom: pass cross CFLAGS correctly (diff) | |
download | qemu-75b244794323c821aee0d928c5731efe9a022425.tar.gz qemu-75b244794323c821aee0d928c5731efe9a022425.tar.xz qemu-75b244794323c821aee0d928c5731efe9a022425.zip |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2290,6 +2290,7 @@ if test -n "$target_cc" && test "$softmmu" = yes; then config_mak=pc-bios/s390-ccw/config-host.mak echo "# Automatically generated by configure - do not modify" > $config_mak echo "SRC_PATH=$source_path/pc-bios/s390-ccw" >> $config_mak + echo "EXTRA_CFLAGS=$target_cflags" >> $config_mak write_target_makefile >> $config_mak # SLOF is required for building the s390-ccw firmware on s390x, # since it is using the libnet code from SLOF for network booting. |