mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cross compiling support
Originally committed as revision 1034 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0e7eed09ce
commit
487a54d71d
11
configure
vendored
11
configure
vendored
@ -267,6 +267,8 @@ ar="${cross_prefix}${ar}"
|
||||
ranlib="${cross_prefix}${ranlib}"
|
||||
strip="${cross_prefix}${strip}"
|
||||
|
||||
if test -z "$cross_prefix" ; then
|
||||
|
||||
# ---
|
||||
# big/little endian test
|
||||
cat > $TMPC << EOF
|
||||
@ -283,6 +285,15 @@ else
|
||||
echo big/little test failed
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
# if cross compiling, cannot launch a program, so make a static guess
|
||||
if test "$cpu" = "powerpc" -o "$cpu" = "mips" ; then
|
||||
bigendian="yes"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# ---
|
||||
# check availability of some header files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user