Commit 89641463 authored by Reimar Döffinger's avatar Reimar Döffinger

Allow setting a different nm binary from the configure line.

Originally committed as revision 16102 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent de3a1240
...@@ -120,6 +120,7 @@ show_help(){ ...@@ -120,6 +120,7 @@ show_help(){
echo " --target-os=OS compiler targets OS [$target_os]" echo " --target-os=OS compiler targets OS [$target_os]"
echo " --target-exec=CMD command to run executables on target" echo " --target-exec=CMD command to run executables on target"
echo " --target-path=DIR path to view of build directory 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 " --cc=CC use C compiler CC [$cc]"
echo " --host-cc=HOSTCC use host C compiler HOSTCC" echo " --host-cc=HOSTCC use host C compiler HOSTCC"
echo " --host-cflags=HCFLAGS use HCFLAGS when compiling for host" echo " --host-cflags=HCFLAGS use HCFLAGS when compiling for host"
...@@ -919,6 +920,7 @@ CMDLINE_SET=" ...@@ -919,6 +920,7 @@ CMDLINE_SET="
host_ldflags host_ldflags
host_libs host_libs
logfile logfile
nm
source_path source_path
target_exec target_exec
target_os target_os
...@@ -1097,7 +1099,7 @@ cc_default="gcc" ...@@ -1097,7 +1099,7 @@ cc_default="gcc"
host_cc_default="gcc" host_cc_default="gcc"
yasmexe="yasm" yasmexe="yasm"
ar="ar" ar="ar"
nm="nm" nm_default="nm"
ranlib="ranlib" ranlib="ranlib"
strip="strip" strip="strip"
ln_s="ln -sf" ln_s="ln -sf"
...@@ -1265,11 +1267,11 @@ test -n "$cross_prefix" && enable cross_compile ...@@ -1265,11 +1267,11 @@ test -n "$cross_prefix" && enable cross_compile
cc_default="${cross_prefix}${cc_default}" 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_default="${cross_prefix}${nm}"
ranlib="${cross_prefix}${ranlib}" ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}" strip="${cross_prefix}${strip}"
set_default cc set_default cc nm
enabled cross_compile || host_cc_default=$cc enabled cross_compile || host_cc_default=$cc
set_default host_cc set_default host_cc
......
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