Support ccache.
authorBen Laurie <ben@links.org>
Sat, 12 Dec 2015 13:33:20 +0000 (13:33 +0000)
committerBen Laurie <ben@links.org>
Sat, 12 Dec 2015 23:05:41 +0000 (23:05 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
util/domd

index f5be00d..e39d3e3 100755 (executable)
--- a/util/domd
+++ b/util/domd
@@ -8,6 +8,10 @@ if [ "$1" = "-MD" ]; then
     shift
     MAKEDEPEND=$1
     shift
+    if [ "$MAKEDEPEND" = "ccache" ]; then
+        MAKEDEPEND="$MAKEDEPEND $1"
+        shift
+    fi
 fi
 if [ "$MAKEDEPEND" = "" ]; then MAKEDEPEND=makedepend; fi