aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-19 16:25:15 +0200
committerKim Alvefur <zash@zash.se>2016-08-19 16:25:15 +0200
commit75ff5d1a054175bf5dc659ceb0c6bc3f6f1a2525 (patch)
tree07a8ffbf2ea590f8c1505312c167d758e55db569
parent9a012201cb1dcd7613649e1c9ad21546e7978cbe (diff)
downloadprosody-75ff5d1a054175bf5dc659ceb0c6bc3f6f1a2525.tar.gz
prosody-75ff5d1a054175bf5dc659ceb0c6bc3f6f1a2525.zip
configure: Add --compiler-wrapper flag for using things like ccache or distcc
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index e9e62a84..2c1ecabe 100755
--- a/configure
+++ b/configure
@@ -224,6 +224,10 @@ do
--no-example-certs)
EXCERTS=
;;
+ --compiler-wrapper=*)
+ CC="$value $CC"
+ LD="$value $LD"
+ ;;
*)
echo "Error: Unknown flag: $1"
exit 1