aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-25 21:46:46 +0200
committerKim Alvefur <zash@zash.se>2017-04-25 21:46:46 +0200
commit7dd7ec85411a92820ba524016be915c5db6dbb6c (patch)
tree6cf2edd818993b64cfa2fbbf46c3724d660d16c7
parent237f991e4f843ea2448fac2563149b6671e5c885 (diff)
downloadprosody-7dd7ec85411a92820ba524016be915c5db6dbb6c.tar.gz
prosody-7dd7ec85411a92820ba524016be915c5db6dbb6c.zip
configure: --add-cflags to amend $CFLAGS without replacing existing value(s) #858
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 08f631ee..a81c7eb9 100755
--- a/configure
+++ b/configure
@@ -297,6 +297,9 @@ do
--cflags)
CFLAGS="$value"
;;
+ --add-cflags)
+ CFLAGS="$CFLAGS $value"
+ ;;
--ldflags)
LDFLAGS="$value"
;;