Changeset

8129:69f8b22b0472

configure: --add-cflags to amend $CFLAGS without replacing existing value(s) #858
author Kim Alvefur <zash@zash.se>
date Tue, 25 Apr 2017 21:46:46 +0200
parents 8127:3e443d6791e6
children 8130:12440a0043ab
files configure
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"
       ;;