commit | 336d5881a927cd80e8c0ff61c7f76b1433f91bb0 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Aug 30 14:30:11 2016 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Aug 30 16:28:46 2016 +0200 |
tree | 6b60765e8527cd3b943fad4c6722b0eb88bb2847 | |
parent | 616018352c244d8b0ea4626407b0801844ae0748 [diff] |
optionrom: cope with multiple -O options Reproducer: CFLAGS="-g3 -O0" ./configure --target-list=aarch64-softmmu,arm-softmmu --enable-vhost-net --enable-virtfs Here CFLAGS ends up with "-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ... -g3 -O0" and pc-bios/optionrom/Makefile forgets to add the -O2 it needs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>