configure: add command flag to disable yasm use
Originally committed as revision 16998 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -207,6 +207,7 @@ show_help(){
|
|||||||
echo " --disable-mmi disable MMI optimizations"
|
echo " --disable-mmi disable MMI optimizations"
|
||||||
echo " --disable-neon disable neon optimizations"
|
echo " --disable-neon disable neon optimizations"
|
||||||
echo " --disable-vis disable VIS optimizations"
|
echo " --disable-vis disable VIS optimizations"
|
||||||
|
echo " --disable-yasm disable use of yasm assembler"
|
||||||
echo
|
echo
|
||||||
echo "Developer options (useful when working on FFmpeg itself):"
|
echo "Developer options (useful when working on FFmpeg itself):"
|
||||||
echo " --disable-debug disable debugging symbols"
|
echo " --disable-debug disable debugging symbols"
|
||||||
@@ -918,6 +919,7 @@ CMDLINE_SELECT="
|
|||||||
logging
|
logging
|
||||||
optimizations
|
optimizations
|
||||||
stripping
|
stripping
|
||||||
|
yasm
|
||||||
"
|
"
|
||||||
|
|
||||||
PATHS_LIST='
|
PATHS_LIST='
|
||||||
@@ -1787,7 +1789,7 @@ EOF
|
|||||||
macho64) append YASMFLAGS "-DPIC -DPREFIX" ;;
|
macho64) append YASMFLAGS "-DPIC -DPREFIX" ;;
|
||||||
*) append YASMFLAGS "-DPREFIX" ;;
|
*) append YASMFLAGS "-DPREFIX" ;;
|
||||||
esac
|
esac
|
||||||
check_yasm "pabsw xmm0, xmm0" && enable yasm
|
disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check for assembler specific support
|
# check for assembler specific support
|
||||||
|
Reference in New Issue
Block a user