Created
June 17, 2010 13:00
-
-
Save sheepmaster/442073 to your computer and use it in GitHub Desktop.
distcc shim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Wraps distcc compiler calls in ccache. | |
| # Install at /Developer/usr/bin. | |
| DISTCC=/usr/bin/distcc | |
| export CCACHE_PREFIX="$DISTCC" | |
| if [ "$1" == "--host-info" ]; then | |
| exec "$DISTCC" "$@" | |
| fi | |
| exec ccache "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment