Diff

configure @ 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
parent 8087:eb38f3b919be
child 8130:12440a0043ab
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"
       ;;