aboutsummaryrefslogtreecommitdiffstats
path: root/configure
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
commit8370703ece4eef92aa1b96cc39f4886ae2af01ac (patch)
tree07a8ffbf2ea590f8c1505312c167d758e55db569 /configure
parent74635e9edbd1426ff7feff4713d69d8e90b0d1ea (diff)
downloadprosody-8370703ece4eef92aa1b96cc39f4886ae2af01ac.tar.gz
prosody-8370703ece4eef92aa1b96cc39f4886ae2af01ac.zip
configure: Add --compiler-wrapper flag for using things like ccache or distcc
Diffstat (limited to 'configure')
-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