Diff

configure @ 7618:5a09c1166d89

configure: Add --compiler-wrapper flag for using things like ccache or distcc
author Kim Alvefur <zash@zash.se>
date Fri, 19 Aug 2016 16:25:15 +0200
parent 7617:c6d18ee93e34
child 7632:2b14e2121700
line wrap: on
line diff
--- a/configure	Fri Aug 19 16:06:07 2016 +0200
+++ b/configure	Fri Aug 19 16:25:15 2016 +0200
@@ -224,6 +224,10 @@
     --no-example-certs)
       EXCERTS=
       ;;
+   --compiler-wrapper=*)
+      CC="$value $CC"
+      LD="$value $LD"
+      ;;
    *)
       echo "Error: Unknown flag: $1"
       exit 1