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

Måns Rullgård mans
Mon Sep 29 10:20:24 CEST 2008


Diego Biurrun <diego at biurrun.de> writes:

> On Sun, Sep 28, 2008 at 05:39:37PM +0200, Diego 'Flameeyes' Petten? wrote:
>> 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.
>> 
>> --- a/configure
>> +++ b/configure
>> @@ -1553,8 +1553,10 @@ if enabled x86; then
>>  
>> +    temp_cflags ${LIBOBJFLAGS}
>>      # check wether EBX is available on x86
>>      check_asm ebx_available '"":::"%ebx"'
>> +    restore_flags
>
> Should be OK, Mans?

It has no effect at the moment, since LIBOBJFLAGS isn't set until
later.  I won't object to moving this, but this patch is pointless
as-is.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list