[MPlayer-cvslog] r36098 - trunk/configure
upsuper
subversion at mplayerhq.hu
Sat Mar 30 04:32:16 CET 2013
Author: upsuper
Date: Sat Mar 30 04:32:16 2013
New Revision: 36098
Log:
Move PIC detection to the front of PIE added.
It seems that clang turns off PIC when -fpie is set, which causes part
of ffmpeg failed to be compiled on OS X. In fact, in the configure of
ffmpeg, PIC is unconditionally enabled, which could be introduced as
ffmpeg seems to be an essential part of mplayer.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Fri Mar 29 18:28:44 2013 (r36097)
+++ trunk/configure Sat Mar 30 04:32:16 2013 (r36098)
@@ -2761,6 +2761,14 @@ if test -n "$CPPFLAGS" ; then
fi
+echocheck "PIC"
+def_pic='#define CONFIG_PIC 0'
+pic=no
+cpp_condition_check '' 'defined(__PIC__) || defined(__pic__) || defined(PIC)' &&
+ pic=yes && extra_cflags="$extra_cflags -DPIC" && def_pic='#define CONFIG_PIC 1'
+echores $pic
+
+
# try to create a relocatable binary by default
echocheck "relocatable binary"
if test $relocatable = "auto" ; then
@@ -2844,14 +2852,6 @@ if x86_32 ; then
fi #if x86_32
-echocheck "PIC"
-def_pic='#define CONFIG_PIC 0'
-pic=no
-cpp_condition_check '' 'defined(__PIC__) || defined(__pic__) || defined(PIC)' &&
- pic=yes && extra_cflags="$extra_cflags -DPIC" && def_pic='#define CONFIG_PIC 1'
-echores $pic
-
-
def_bswap='#define HAVE_BSWAP 0'
def_ebx_available='#define HAVE_EBX_AVAILABLE 0'
def_xmm_clobbers='#define HAVE_XMM_CLOBBERS 0'
More information about the MPlayer-cvslog
mailing list