summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRoine Gustafsson <roine@users.sourceforge.net>2005-01-05 01:45:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-05 01:45:52 +0000
commitf4e2c4b13471ceacc801b573a01d23ed2ab2b4e2 (patch)
tree30b8a24b42ab3bf044942d8c7c4c341af56bc68f /configure
parent503a47255fc86191788d62f321f19dfd7d14c0fd (diff)
--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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index b085a0ea1a..b5ddb48f5b 100755
--- a/configure
+++ b/configure
@@ -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=}
;;