[MPlayer-cvslog] r35097 - trunk/configure

reimar subversion at mplayerhq.hu
Wed Aug 15 21:51:58 CEST 2012


Author: reimar
Date: Wed Aug 15 21:51:58 2012
New Revision: 35097

Log:
Do not try to use PIE with --enable-static.
At least on x86_32 -static -pie silently creates a broken binary.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Aug 15 19:46:38 2012	(r35096)
+++ trunk/configure	Wed Aug 15 21:51:58 2012	(r35097)
@@ -2653,7 +2653,10 @@ fi
 # try to create a relocatable binary by default
 echocheck "relocatable binary"
 if test $relocatable = "auto" ; then
-  if x86_32 && cflag_check -pie ; then
+  if test -n "$ld_static" ; then
+    relocatable=no
+    res_comment="PIE + static assumed to be broken"
+  elif x86_32 && cflag_check -pie ; then
     extra_ldflags="$extra_ldflags -pie"
     relocatable=yes
     res_comment="non-PIC"


More information about the MPlayer-cvslog mailing list