aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-12-13 15:13:24 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-12-13 15:13:24 +0000
commit89641463a17aaa3fcbd07aaee13f76504b7d9581 (patch)
tree218dd622df54fc5cb38d56a04c3e3e52c4e435c3
parentde3a124064d701d5f257ba0e2e7bf0f6bc6eef9d (diff)
downloadffmpeg-89641463a17aaa3fcbd07aaee13f76504b7d9581.tar.gz
Allow setting a different nm binary from the configure line.
Originally committed as revision 16102 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index d4f0210f06..ed7c778aab 100755
--- a/configure
+++ b/configure
@@ -120,6 +120,7 @@ show_help(){
echo " --target-os=OS compiler targets OS [$target_os]"
echo " --target-exec=CMD command to run executables on target"
echo " --target-path=DIR path to view of build directory on target"
+ echo " --nm=NM use nm tool"
echo " --cc=CC use C compiler CC [$cc]"
echo " --host-cc=HOSTCC use host C compiler HOSTCC"
echo " --host-cflags=HCFLAGS use HCFLAGS when compiling for host"
@@ -919,6 +920,7 @@ CMDLINE_SET="
host_ldflags
host_libs
logfile
+ nm
source_path
target_exec
target_os
@@ -1097,7 +1099,7 @@ cc_default="gcc"
host_cc_default="gcc"
yasmexe="yasm"
ar="ar"
-nm="nm"
+nm_default="nm"
ranlib="ranlib"
strip="strip"
ln_s="ln -sf"
@@ -1265,11 +1267,11 @@ test -n "$cross_prefix" && enable cross_compile
cc_default="${cross_prefix}${cc_default}"
yasmexe="${cross_prefix}${yasmexe}"
ar="${cross_prefix}${ar}"
-nm="${cross_prefix}${nm}"
+nm_default="${cross_prefix}${nm}"
ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
-set_default cc
+set_default cc nm
enabled cross_compile || host_cc_default=$cc
set_default host_cc