Skip to content

Commit ab32e2d

Browse files
authored
Speeding up Build: Fixing symbolic links (#3329)
1 parent 8e22289 commit ab32e2d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/build-speed.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ On Mac OS, we can install ccache with `brew install ccache`.
7979
Once installed you can configure it as follows to cache NDK compile results:
8080

8181
```
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++
8888
```
8989

9090
This will create symbolic links to `ccache` inside the `/usr/local/bin/` which are called `gcc`, `g++`, and so on.

0 commit comments

Comments
 (0)