Check for GNU assembler, use gas-preprocessor on darwin
Originally committed as revision 23953 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2f0c136e1f
commit
a49d302590
5
configure
vendored
5
configure
vendored
@ -988,6 +988,7 @@ HAVE_LIST="
|
|||||||
GetProcessMemoryInfo
|
GetProcessMemoryInfo
|
||||||
GetProcessTimes
|
GetProcessTimes
|
||||||
getrusage
|
getrusage
|
||||||
|
gnu_as
|
||||||
struct_rusage_ru_maxrss
|
struct_rusage_ru_maxrss
|
||||||
ibm_asm
|
ibm_asm
|
||||||
inet_aton
|
inet_aton
|
||||||
@ -2116,6 +2117,7 @@ case $target_os in
|
|||||||
;;
|
;;
|
||||||
darwin)
|
darwin)
|
||||||
enable malloc_aligned
|
enable malloc_aligned
|
||||||
|
as="gas-preprocessor.pl $cc"
|
||||||
SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl,-read_only_relocs,suppress'
|
SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl,-read_only_relocs,suppress'
|
||||||
strip="${strip} -x"
|
strip="${strip} -x"
|
||||||
FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
|
FFLDFLAGS="-Wl,-dynamic,-search_paths_first"
|
||||||
@ -2306,6 +2308,9 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
|
|||||||
EOF
|
EOF
|
||||||
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
|
||||||
|
|
||||||
|
check_asm gnu_as '".macro m n\n\\n:.int 0\n.endm\nm x"' ||
|
||||||
|
warn "GNU assembler not found, install gas-preprocessor"
|
||||||
|
|
||||||
if enabled alpha; then
|
if enabled alpha; then
|
||||||
|
|
||||||
check_cflags -mieee
|
check_cflags -mieee
|
||||||
|
Loading…
x
Reference in New Issue
Block a user