diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-21 04:49:50 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-10-03 08:18:56 -0400 |
commit | b6c7cfd490510a395ea36747f4a8682c6b1fc26f (patch) | |
tree | 750113426ae693a9135138ec8f84fa60ed9be6f6 /configure | |
parent | 73362fc0b0c2d94e795a509f859e592572a09bfd (diff) | |
download | qemu-b6c7cfd490510a395ea36747f4a8682c6b1fc26f.zip qemu-b6c7cfd490510a395ea36747f4a8682c6b1fc26f.tar.gz qemu-b6c7cfd490510a395ea36747f4a8682c6b1fc26f.tar.bz2 |
configure: move OpenBSD W^X test to meson
The TCG option is now passed through to Meson.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -1594,10 +1594,6 @@ if [ "$ARCH" = "unknown" ]; then linux_user="no" fi -if [ "$bsd_user" = "no" -a "$linux_user" = "no" -a "$softmmu" = "no" ] ; then - tcg="disabled" -fi - default_target_list="" deprecated_targets_list=ppc64abi32-linux-user,tilegx-linux-user,lm32-softmmu,unicore32-softmmu deprecated_features="" @@ -6041,17 +6037,6 @@ if test "$mingw32" = "yes" ; then done fi -# Disable OpenBSD W^X if available -if test "$tcg" = "enabled" && test "$targetos" = "OpenBSD"; then - cat > $TMPC <<EOF - int main(void) { return 0; } -EOF - wx_ldflags="-Wl,-z,wxneeded" - if compile_prog "" "$wx_ldflags"; then - QEMU_LDFLAGS="$QEMU_LDFLAGS $wx_ldflags" - fi -fi - qemu_confdir="$sysconfdir/$qemu_suffix" qemu_moddir="$libdir/$qemu_suffix" qemu_datadir="$datadir/$qemu_suffix" |