Commit 4c84a2bb authored by ramiro's avatar ramiro

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13058 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fb3429d7
......@@ -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