aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Castet <castet.matthieu@free.fr>2008-05-07 08:36:23 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-07 08:36:23 +0000
commit2f05d9c1ee639bc2a81f5724cc54a20e1053f982 (patch)
tree08d0ff5f9a5c6931c806bdb07ac91b76ed3e4583
parent6650c4c3a8c87e1242af18af07d9a0a2b5561d78 (diff)
downloadffmpeg-2f05d9c1ee639bc2a81f5724cc54a20e1053f982.tar.gz
When compiling with -fmudflap configure fill EXTERN_PREFIX with garbage
(some mudflap symbol), so just pick out ff_extern symbols in this case. patch by matthieu castet, castet.matthieu free fr Originally committed as revision 13072 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f8b80a9310..e13f1a02fd 100755
--- a/configure
+++ b/configure
@@ -1474,7 +1474,7 @@ fi
check_cc <<EOF || die "Symbol mangling check failed."
int ff_extern;
EOF
-sym=$($nm -P -g $TMPO)
+sym=$($nm -P -g $TMPO | grep ff_extern)
extern_prefix=${sym%%ff_extern*}
check_asm inline_asm '""'