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
commit1dea93bfed984f7b3a7947571dfc6e1f6b348033 (patch)
tree6cf2edd818993b64cfa2fbbf46c3724d660d16c7
parent42cd234969a1c68f54c6a804649ef9746e95f148 (diff)
downloadprosody-1dea93bfed984f7b3a7947571dfc6e1f6b348033.tar.gz
prosody-1dea93bfed984f7b3a7947571dfc6e1f6b348033.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"
;;