aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2008-05-04 17:15:11 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2008-05-04 17:15:11 +0000
commitadb2b908902a1034740ef21a994e288510a940b8 (patch)
treee027d3533a0c9402e7aabdc0427bf2e6113a2f7e /configure
parent4b13335d1cd9b82a01139f6a2aeb55ace5419955 (diff)
downloadffmpeg-adb2b908902a1034740ef21a994e288510a940b8.tar.gz
Fix configure for cross-compilation and --arch=amd64.
Originally committed as revision 13058 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 6 insertions, 5 deletions
diff --git a/configure b/configure
index 0abb1103b5..b9920daef8 100755
--- a/configure
+++ b/configure
@@ -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