]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure, pc-bios/optionrom: pass cross CFLAGS correctly
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2022 09:42:01 +0000 (11:42 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Jul 2022 07:31:15 +0000 (09:31 +0200)
commit640aabc8ae65f471daf67fdc41fed00d6d795a65
treea2caf1a48b569bc48c934f5d2c639dc9e6082309
parentebca847d051b7a595494f9ef0f128113ef125c8e
configure, pc-bios/optionrom: pass cross CFLAGS correctly

The optionrom build is disregarding the flags passed to the configure
script via --cross-cflags-i386.  Pass it down and add it to the Makefile.

This will make it possible to get the -m32 flag from $target_cflags to
force a 32-bit build on 64-bit hosts, instead of supplying manually the
arcane -Wa,-32 and linker emulation options.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
pc-bios/optionrom/Makefile