Commit f039d1d0 authored by bellard's avatar bellard

cross compiling support


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1034 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c726af88
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment