Browse code

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

Matthieu Castet authored on 2008/05/07 17:36:23
Showing 1 changed files
... ...
@@ -1474,7 +1474,7 @@ fi
1474 1474
 check_cc <<EOF || die "Symbol mangling check failed."
1475 1475
 int ff_extern;
1476 1476
 EOF
1477
-sym=$($nm -P -g $TMPO)
1477
+sym=$($nm -P -g $TMPO | grep ff_extern)
1478 1478
 extern_prefix=${sym%%ff_extern*}
1479 1479
 
1480 1480
 check_asm inline_asm '""'