aboutsummaryrefslogtreecommitdiff
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
commit5023114d96f2021b6c0eef6d327f338d8f9d6702 (patch)
treee0f4cbeb277e5bfed8e2847fe0529ee258c8e20c
parenta4db7b9e616a9d411b07fb9ada0571f481367fc8 (diff)
downloadprosody-im-server-5023114d96f2021b6c0eef6d327f338d8f9d6702.tar
prosody-im-server-5023114d96f2021b6c0eef6d327f338d8f9d6702.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"
;;