Commit b2e9af98 authored by Sam Hocevar's avatar Sam Hocevar

* configure: support extra $(ASFLAGS) through --extra-asflags.


git-svn-id: svn://svn.videolan.org/x264/trunk@301 df754926-b1dd-0310-bc7b-ec298dee348c
parent 1b16298a
......@@ -13,6 +13,7 @@ echo " --enable-vfw compiles the VfW frontend"
echo " --enable-pthread enables multithreaded encoding"
echo " --enable-debug adds -g, doesn't strip"
echo " --enable-visualize enables visualization (X11 only)"
echo " --extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS"
echo " --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS"
echo " --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS"
echo ""
......@@ -182,6 +183,9 @@ for opt do
fi
mp4_output="yes"
;;
--extra-asflags=*)
ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
;;
--extra-cflags=*)
CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
VFW_CFLAGS="${opt#--extra-cflags=}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment