diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-25 07:33:52 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-26 20:22:48 +0300 |
commit | 4ab6e168888a0e973e5238d2ecdd632e35cd49fe (patch) | |
tree | 06229adc73e4d8b285b25a9fc23f2fb946a8a825 /configure | |
parent | 546c3fb53ce64fde5cba3e06012d244e73ae497a (diff) | |
download | mpv-4ab6e168888a0e973e5238d2ecdd632e35cd49fe.tar.bz2 mpv-4ab6e168888a0e973e5238d2ecdd632e35cd49fe.tar.xz |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |