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 f5be00deec4943636b6715f38d9dfbdb6bbb0c6b..e39d3e304ea7ab5cb5ad38747c91104d77e2364c 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