]> git.proxmox.com Git - mirror_qemu.git/commitdiff
configure: append --extra-ldflags to LDFLAGS
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 3 Jun 2015 13:22:41 +0000 (14:22 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 23 Jun 2015 16:57:27 +0000 (19:57 +0300)
The help text says --extra-ldflags is appended to LDFLAGS so make it so.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure

index 6fed07b5e2ee95f7c12b456fb8d0357591402186..2fd958d9566135c0268214b30fb19576e2dfb096 100755 (executable)
--- a/configure
+++ b/configure
@@ -355,7 +355,7 @@ for opt do
   --extra-cflags=*) QEMU_CFLAGS="$QEMU_CFLAGS $optarg"
                     EXTRA_CFLAGS="$optarg"
   ;;
-  --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"
+  --extra-ldflags=*) LDFLAGS="$LDFLAGS $optarg"
                      EXTRA_LDFLAGS="$optarg"
   ;;
   --enable-debug-info) debug_info="yes"