[FFmpeg-devel] [PATCH 2/3] Use LIBOBJFLAGS when checking if %ebx is available.

Diego 'Flameeyes' Pettenò flameeyes
Sun Sep 28 17:39:37 CEST 2008


Since the availability of %ebx is used by the library objects, use
LIBOBJFLAGS when testing; this way if the system has PIC enabled for
the libraries (like Solaris), it won't be reported wrongly available.
---

 configure |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index a60682a..e9d898a 100755
--- a/configure
+++ b/configure
@@ -1553,8 +1553,10 @@ if enabled x86; then
     return i;
 EOF
 
+    temp_cflags ${LIBOBJFLAGS}
     # check wether EBX is available on x86
     check_asm ebx_available '"":::"%ebx"'
+    restore_flags
 
     # check whether binutils is new enough to compile SSSE3/MMX2
     enabled ssse3 && check_asm ssse3 '"pabsw %xmm0, %xmm0"'





More information about the ffmpeg-devel mailing list