File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ On Mac OS, we can install ccache with `brew install ccache`.
79
79
Once installed you can configure it as follows to cache NDK compile results:
80
80
81
81
```
82
- ln -s ccache /usr/local/bin/gcc
83
- ln -s ccache /usr/local/bin/g++
84
- ln -s ccache /usr/local/bin/cc
85
- ln -s ccache /usr/local/bin/c++
86
- ln -s ccache /usr/local/bin/clang
87
- ln -s ccache /usr/local/bin/clang++
82
+ ln -s $(which ccache) /usr/local/bin/gcc
83
+ ln -s $(which ccache) /usr/local/bin/g++
84
+ ln -s $(which ccache) /usr/local/bin/cc
85
+ ln -s $(which ccache) /usr/local/bin/c++
86
+ ln -s $(which ccache) /usr/local/bin/clang
87
+ ln -s $(which ccache) /usr/local/bin/clang++
88
88
```
89
89
90
90
This will create symbolic links to ` ccache ` inside the ` /usr/local/bin/ ` which are called ` gcc ` , ` g++ ` , and so on.
You can’t perform that action at this time.
0 commit comments