diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-06-14 11:23:47 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-06-14 11:29:38 +0200 |
commit | 6341aef039b333a9ca0bfb95a18fd08e998b7fa5 (patch) | |
tree | 1a492493f82ea19e81818727d9280955d92281af /config/darwin.config | |
parent | 3e71e0803391b3eda5c0612579558e072f510797 (diff) |
config: add support for using ccache in the builds
Diffstat (limited to 'config/darwin.config')
-rw-r--r-- | config/darwin.config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/darwin.config b/config/darwin.config index df1160b..295a9d8 100644 --- a/config/darwin.config +++ b/config/darwin.config @@ -89,3 +89,7 @@ gl_headers = os.path.join(sdk_root, 'usr', 'X11', 'include', 'GL') gl_headers_prefix = os.path.join(incl_dir, 'GL') if not os.path.exists(gl_headers_prefix): os.symlink(gl_headers, gl_headers_prefix) + +if use_ccache: + os.environ['CC'] += 'ccache gcc' + os.environ['CXX'] += 'ccache g++' |