mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-06 18:29:47 +00:00
![Rui Paulo](/assets/img/avatar_default.png)
Makefiles or *.mk files, use ${CC:T:Mfoo} instead, so only the basename of the compiler command (excluding any arguments) is considered. This allows you to use, for example, CC="/nondefault/path/clang -xxx", and still have the various tests in bsd.*.mk identify your compiler as clang correctly. ICC if cases were also changed. Submitted by: Dimitry Andric <dimitry at andric.com>