# HG changeset patch # User Kim Alvefur # Date 1493149606 -7200 # Node ID 69f8b22b04726211b90f8a1cdaeb2e7f431e2b50 # Parent 3e443d6791e677be1ac09d1e84418e49eed17a7d configure: --add-cflags to amend $CFLAGS without replacing existing value(s) #858 diff -r 3e443d6791e6 -r 69f8b22b0472 configure --- a/configure Tue Apr 25 01:35:13 2017 +0200 +++ b/configure Tue Apr 25 21:46:46 2017 +0200 @@ -297,6 +297,9 @@ --cflags) CFLAGS="$value" ;; + --add-cflags) + CFLAGS="$CFLAGS $value" + ;; --ldflags) LDFLAGS="$value" ;;