Browse Source

--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
tags/v0.5
Roine Gustafsson Michael Niedermayer 21 years ago
parent
commit
f4e2c4b134
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      configure

+ 2
- 2
configure 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=}
;;


Loading…
Cancel
Save