From 4ab6e168888a0e973e5238d2ecdd632e35cd49fe Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sat, 25 Jul 2009 07:33:52 +0300 Subject: configure: Make multiple --extra-cflags/ldflags additive This change makes it easier to pass those flags from a build script while still allowing the user to specify additional flags too. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index e567a8a22a..7a1458367c 100755 --- a/configure +++ b/configure @@ -810,10 +810,10 @@ for ac_option do ;; --extra-cflags=*) - extra_cflags=$(echo $ac_option | cut -d '=' -f 2-) + extra_cflags="$extra_cflags $(echo $ac_option | cut -d '=' -f 2-)" ;; --extra-ldflags=*) - extra_ldflags=$(echo $ac_option | cut -d '=' -f 2-) + extra_ldflags="$extra_ldflags $(echo $ac_option | cut -d '=' -f 2-)" ;; --extra-libs=*) extra_libs=$(echo $ac_option | cut -d '=' -f 2) -- cgit v1.2.3