Commit 757364fc authored by michael's avatar michael

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

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e201edb2
......@@ -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