configure: do not invoke as/ld directly for pc-bios/optionrom
commit7089977a24133b3b1dd0864f4138efe3b906af4b
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Jun 2022 09:35:41 +0000 (6 11:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Sep 2022 09:30:59 +0000 (27 11:30 +0200)
treee7e4b054ff5c6d64b58099646fa6a483607df1f7
parent2fc7eb689704687f890688507e15bbbe71275f63
configure: do not invoke as/ld directly for pc-bios/optionrom

Just use using the compiler binary, with -nostdlib in the case of the
linker; the compiler driver (whether i686-*-gcc, or x86_64-*-gcc with
the -m32 option) will then pick the right magic option to as and ld.

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