--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
This commit is contained in:
Roine Gustafsson 2005-01-05 01:45:52 +00:00 committed by Michael Niedermayer
parent 503a47255f
commit f4e2c4b134

4
configure vendored
View File

@ -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=}
;;