Commit adb2b908 authored by Ramiro Polla's avatar Ramiro Polla

Fix configure for cross-compilation and --arch=amd64.

Originally committed as revision 13058 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4b13335d
......@@ -1056,6 +1056,12 @@ for opt do
esac
done
cc="${cross_prefix}${cc}"
ar="${cross_prefix}${ar}"
nm="${cross_prefix}${nm}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
# OS specific
case $target_os in
beos|haiku|zeta)
......@@ -1301,11 +1307,6 @@ enabled sparc64 && enable sparc
LDFLAGS="$FFLDFLAGS $LDFLAGS"
test -n "$cross_prefix" && enable cross_compile
cc="${cross_prefix}${cc}"
ar="${cross_prefix}${ar}"
nm="${cross_prefix}${nm}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
# we need to build at least one lib type
if ! enabled_any static shared; then
......
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