Skip to content

Instantly share code, notes, and snippets.

@qwerty12
Created April 29, 2013 13:56
Show Gist options
  • Save qwerty12/5481710 to your computer and use it in GitHub Desktop.
Save qwerty12/5481710 to your computer and use it in GitHub Desktop.
Quick-'n'-dirty ccache hack for Homebrew
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