Changeset

8130:12440a0043ab

configure: --add-ldflags to amend $LDFLAGS without overriding previous value #858
author Kim Alvefur <zash@zash.se>
date Tue, 25 Apr 2017 21:48:24 +0200
parents 8129:69f8b22b0472
children 8131:c8e3a0caa0a9
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Apr 25 21:46:46 2017 +0200
+++ b/configure	Tue Apr 25 21:48:24 2017 +0200
@@ -303,6 +303,9 @@
    --ldflags)
       LDFLAGS="$value"
       ;;
+   --add-ldflags)
+      LDFLAGS="$LDFLAGS $value"
+      ;;
    --c-compiler)
       CC="$value"
       ;;