Comment 9 for bug 1871798

Revision history for this message
Alex Bennée (ajbennee) wrote : [PULL 3/8] configure: disable PIE for Windows builds

It seems on some compilers the test can pass but still give you
broken binaries.

Fixes: d2cd29e30736
Fixes: https://bugs.launchpad.net/qemu/+bug/1871798
Cc: Bug 1871798 <email address hidden>
Signed-off-by: Alex Bennée <email address hidden>
Tested-by: Howard Spoelstra <email address hidden>
Tested-by: James Le Cuirot <email address hidden>
Reviewed-by: Philippe Mathieu-Daudé <email address hidden>
Reviewed-by: Richard Henderson <email address hidden>
Message-Id: <email address hidden>

diff --git a/configure b/configure
index 25f7d915720..23b5e93752b 100755
--- a/configure
+++ b/configure
@@ -807,6 +807,7 @@ MINGW32*)
     audio_drv_list=""
   fi
   supported_os="yes"
+ pie="no"
 ;;
 GNU/kFreeBSD)
   bsd="yes"
--
2.20.1