aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-10-21 00:57:20 +0000
committerMåns Rullgård <mans@mansr.com>2008-10-21 00:57:20 +0000
commit13c7df3dc0625d7a559a7f02644c27755e0569bd (patch)
treefa7fd14d1859dcd4ff2ad2b52be869ad11919b3a /configure
parent884a36a78badab059ed6857d6b69205063510768 (diff)
downloadffmpeg-13c7df3dc0625d7a559a7f02644c27755e0569bd.tar.gz
Do not add $cross_prefix to compiler name given with --cc option
Originally committed as revision 15657 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 18c666cd9a..1b3d947e2e 100755
--- a/configure
+++ b/configure
@@ -953,7 +953,7 @@ mandir_default='${prefix}/share/man'
shlibdir_default="$libdir_default"
# toolchain
-cc="gcc"
+cc_default="gcc"
yasmexe="yasm"
ar="ar"
nm="nm"
@@ -1118,13 +1118,15 @@ disabled logging && logfile=/dev/null
echo "# $0 $@" > $logfile
set >> $logfile
-cc="${cross_prefix}${cc}"
+cc_default="${cross_prefix}${cc_default}"
yasmexe="${cross_prefix}${yasmexe}"
ar="${cross_prefix}${ar}"
nm="${cross_prefix}${nm}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
+set_default cc
+
# set temporary file name
if test ! -z "$TMPDIR" ; then
TMPDIR1="${TMPDIR}"