changeset 36177:00a9c3937ea1

Disable -pie on Windows, it causes issues without any advantages I know of.
author reimar
date Thu, 16 May 2013 18:22:53 +0000
parents df9dead0e2ad
children 927dedf22dde
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu May 16 18:22:52 2013 +0000
+++ b/configure	Thu May 16 18:22:53 2013 +0000
@@ -2768,6 +2768,9 @@
   if test -n "$ld_static" ; then
     relocatable=no
     res_comment="PIE + static assumed to be broken"
+  elif win32 && ! wine ; then
+    relocatable=no
+    res_comment="unnecessary and broken on win32"
   elif x86_32 && cflag_check -pie ; then
     extra_ldflags="$extra_ldflags -pie"
     relocatable=yes