1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

apply $cross_prefix before $cc is used

Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-06-01 23:25:12 +00:00
parent ea0f0681a6
commit 1ea46bed23

10
configure vendored
View File

@ -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
# ---