Changeset

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
parents 7617:c6d18ee93e34
children 7619:f5016c8985d7 7620:c27c9695d130
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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