diff mbox series

[PULL,07/17] configure: default to PIE disabled on Windows platforms

Message ID 20200827165956.12925-8-pbonzini@redhat.com
State New
Headers show
Series [PULL,01/17] trace: fix creation of systemtap files | expand

Commit Message

Paolo Bonzini Aug. 27, 2020, 4:59 p.m. UTC
From: Daniel P. Berrangé <berrange@redhat.com>

If Windows EXE files are built with -pie/-fpie they will fail to
launch. Historically QEMU defaulted to disabling PIE for Windows,
but this setting was accidentally lost when the configure summary
text was removed in

  commit f9332757898a764d85e19d339ec421236e885b68
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   Mon Feb 3 13:28:38 2020 +0100

    meson: move summary to meson.build

    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Fixes: f9332757898a764d85e19d339ec421236e885b68
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configure b/configure
index a3f95f2b22..0b78577236 100755
--- a/configure
+++ b/configure
@@ -857,6 +857,7 @@  MINGW32*)
     audio_drv_list=""
   fi
   supported_os="yes"
+  pie="no"
 ;;
 GNU/kFreeBSD)
   bsd="yes"