9 lines
231 B
Plaintext
9 lines
231 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
## Setting the CC environment variable may break some Makefiles or other
|
||
|
## languages like Go (with cgo).
|
||
|
|
||
|
for i in /usr/local/bin/cc /usr/bin/cc /bin/cc clang gcc; do
|
||
|
command -v $i >/dev/null 2>&1 && exec $i "$@"
|
||
|
done
|