Originally committed as revision 21348 to svn://svn.ffmpeg.org/ffmpeg/trunk
strip="strip"
yasmexe="yasm"
+nm_opts='-g'
+
# machine
arch=$(uname -m)
cpu="generic"
enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
network_extralibs="-lsocket -lnsl"
add_cppflags -D__EXTENSIONS__
+ nm_opts='-P -g'
;;
netbsd)
oss_indev_extralibs="-lossaudio"
check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern;
EOF
-sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
+sym=$($nm $nm_opts $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
extern_prefix=${sym%%ff_extern*}
check_cc <<EOF && enable inline_asm