Commit f4e2c4b1 authored by Roine Gustafsson's avatar Roine Gustafsson Committed by 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
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment