From 1ea46bed239f985c79f572b639e0f6b20fd8f9d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Thu, 1 Jun 2006 23:25:12 +0000
Subject: [PATCH] apply $cross_prefix before $cc is used

Originally committed as revision 5446 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index ade8f7fdc58..9f6da5e4993 100755
--- a/configure
+++ b/configure
@@ -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
 
 # ---
-- 
GitLab