diff options
author | Måns Rullgård <mans@mansr.com> | 2006-06-01 23:25:12 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-06-01 23:25:12 +0000 |
commit | 1ea46bed239f985c79f572b639e0f6b20fd8f9d6 (patch) | |
tree | f65bd65587f5429e3b40ba39285cff59642a5f50 /configure | |
parent | ea0f0681a687754408fba4f82772d2a2678a5afc (diff) | |
download | ffmpeg-1ea46bed239f985c79f572b639e0f6b20fd8f9d6.tar.gz |
apply $cross_prefix before $cc is used
Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 # --- |