configure: --add-cflags to amend $CFLAGS without replacing existing value(s) #858

This commit is contained in:
Kim Alvefur 2017-04-25 21:46:46 +02:00
parent 237f991e4f
commit 7dd7ec8541

3
configure vendored
View file

@ -297,6 +297,9 @@ do
--cflags)
CFLAGS="$value"
;;
--add-cflags)
CFLAGS="$CFLAGS $value"
;;
--ldflags)
LDFLAGS="$value"
;;