Commit 8919c03d authored by mru's avatar mru

apply $cross_prefix before $cc is used


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5446 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 028965b4
......@@ -714,6 +714,11 @@ done
# Combine FFLDFLAGS and the LDFLAGS environment variable
LDFLAGS="$FFLDFLAGS $LDFLAGS"
cc="${cross_prefix}${cc}"
ar="${cross_prefix}${ar}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
# we need to build at least one lib type
if test "$lstatic" = "no" && test "$lshared" = "no" ; then
cat <<EOF
......@@ -989,11 +994,6 @@ fi
if test "$force_libdir" != yes; then bindir="$prefix"; fi
fi
cc="${cross_prefix}${cc}"
ar="${cross_prefix}${ar}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
if test -z "$cross_prefix" ; 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