提交 f4e2c4b1 编写于 作者: R Roine Gustafsson 提交者: Michael Niedermayer

--extra-cflags and --extra-ldflags clobbers previous options. This

patch will add instead of clobber.
patch by (Roine Gustafsson <roine users.sourceforge net)

Originally committed as revision 3807 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 503a4725
......@@ -370,9 +370,9 @@ for opt do
;;
--make=*) make=`echo $opt | cut -d '=' -f 2`
;;
--extra-cflags=*) CFLAGS="${opt#--extra-cflags=}"
--extra-cflags=*) CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
;;
--extra-ldflags=*) LDFLAGS=${opt#--extra-ldflags=}
--extra-ldflags=*) LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
;;
--extra-libs=*) extralibs=${opt#--extra-libs=}
;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册