diff options
author | Brad <brad@comstyle.com> | 2013-12-10 19:49:08 -0500 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-17 11:44:00 +0000 |
commit | 46eef33b89e936ca793e13c4aeea1414e97e8dbb (patch) | |
tree | be3ae7d73947e57777bac4a415a1e76d06d9f466 /hw/usb/dev-uas.c | |
parent | 0dbcf95a1ea5a5ca6222765ff8813c2cc17e8abd (diff) | |
download | qemu-46eef33b89e936ca793e13c4aeea1414e97e8dbb.zip qemu-46eef33b89e936ca793e13c4aeea1414e97e8dbb.tar.gz qemu-46eef33b89e936ca793e13c4aeea1414e97e8dbb.tar.bz2 |
Fix QEMU build on OpenBSD on x86 archs
This resolves the build issue with building the ROMs on OpenBSD on x86 archs.
As of OpenBSD 5.3 the compiler builds PIE binaries by default and thus the
whole OS/packages and so forth. The ROMs need to have PIE disabled.
Check in configure whether the compiler supports the flags for disabling
PIE, and if it does then use them for building the ROMs. This fixes the
following buildbot failure:
>From the OpenBSD buildbots..
Building optionrom/multiboot.img
ld: multiboot.o: relocation R_X86_64_16 can not be used when making a shared object; recompile with -fPIC
Signed-off by: Brad Smith <brad@comstyle.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/usb/dev-uas.c')
0 files changed, 0 insertions, 0 deletions