Commit 13c7df3d authored by Måns Rullgård's avatar Måns Rullgård

Do not add $cross_prefix to compiler name given with --cc option

Originally committed as revision 15657 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 884a36a7
...@@ -953,7 +953,7 @@ mandir_default='${prefix}/share/man' ...@@ -953,7 +953,7 @@ mandir_default='${prefix}/share/man'
shlibdir_default="$libdir_default" shlibdir_default="$libdir_default"
# toolchain # toolchain
cc="gcc" cc_default="gcc"
yasmexe="yasm" yasmexe="yasm"
ar="ar" ar="ar"
nm="nm" nm="nm"
...@@ -1118,13 +1118,15 @@ disabled logging && logfile=/dev/null ...@@ -1118,13 +1118,15 @@ disabled logging && logfile=/dev/null
echo "# $0 $@" > $logfile echo "# $0 $@" > $logfile
set >> $logfile set >> $logfile
cc="${cross_prefix}${cc}" cc_default="${cross_prefix}${cc_default}"
yasmexe="${cross_prefix}${yasmexe}" yasmexe="${cross_prefix}${yasmexe}"
ar="${cross_prefix}${ar}" ar="${cross_prefix}${ar}"
nm="${cross_prefix}${nm}" nm="${cross_prefix}${nm}"
ranlib="${cross_prefix}${ranlib}" ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}" strip="${cross_prefix}${strip}"
set_default cc
# set temporary file name # set temporary file name
if test ! -z "$TMPDIR" ; then if test ! -z "$TMPDIR" ; then
TMPDIR1="${TMPDIR}" TMPDIR1="${TMPDIR}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment