[FFmpeg-devel] [RFC] allow overriding of $nm

Diego Biurrun diego
Sat Dec 13 14:46:46 CET 2008


On Sat, Dec 13, 2008 at 10:32:09AM +0100, Reimar D?ffinger wrote:
> some systems like OpenBSD lack a POSIX-conforming nm tool.
> Now obviously I am not motivated to try to get them fixed,
> so one possibility is to allow changing the selected nm tool.
> This can either be used in combination with your own "fixed" nm but
> also just be misused e.g. like this:
> --nm="echo _ff_extern #"
> or in case of OpenBSD just
> --nm=true
> Another possibility would be to allow overriding the extern prefix
> directly.
> So, what are the opinions on attached patch?

No objections from me, dunno if Mans has objections.

Just one remark:

> --- configure	(revision 16087)
> +++ configure	(working copy)
> @@ -129,6 +129,7 @@
>    echo "  --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]"
>    echo "  --extra-libs=ELIBS       add ELIBS [$ELIBS]"
>    echo "  --extra-version=STRING   version string suffix []"
> +  echo "  --nm=NM                  use nm tool [$nm]"

This should be next to --cc.

Diego




More information about the ffmpeg-devel mailing list