Skip to contentSkip to conversation

configure: append --extra-ldflags to LDFLAGS

PATCH Applied Alex Bennée 2 participants 2 messages Jun 3, 2015 – Jun 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: append --extra-ldflags to LDFLAGS

The help text says --extra-ldflags is appended to LDFLAGS so make it so.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index d1b7b1c..cfccdfa 100755
@@ -356,7 +356,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"
Signature · 1 line
2.4.2