Created
April 29, 2013 13:56
-
-
Save qwerty12/5481710 to your computer and use it in GitHub Desktop.
Quick-'n'-dirty ccache hack for Homebrew
This file contains 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
def determine_path | |
paths = [superbin] | |
+ if not ARGV.include? "--no-ccache"; paths.unshift "#{HOMEBREW_PREFIX}/Cellar/ccache/3.1.9/libexec:"; ENV.append 'CCACHE_DISABLE', "1"; end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment