diff mbox

[PULL,01/21] configure: append --extra-ldflags to LDFLAGS

Message ID bf9320806f21a7373816741b3dd1886b915a6c36.1434971627.git.mjt@msgid.tls.msk.ru
State Accepted
Commit a4969e90b8110d6880d1a7fcb3cab27c316a0d3e
Headers show

Commit Message

Michael Tokarev June 22, 2015, 11:16 a.m. UTC
From: Alex Bennée <alex.bennee@linaro.org>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/configure b/configure
index 222694f..a5d8924 100755
--- a/configure
+++ b/configure
@@ -354,7 +354,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"