This will no work when there is no cc in $PATH (which is the case before the
cross-tools stage once we no longer inherit $PATH in $WMAKE).
The variables set by bsd.compiler.mk/bsd.linker.mk are not needed in these
stages so this avoids a little bit of makefile parsing.
Details
Details
buildworld works with my patches to remove $PATH from $TMPPATH
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
share/mk/bsd.compiler.mk | ||
---|---|---|
32 ↗ | (On Diff #46989) | I wonder if this blob should be inside the '.if !target' check so it is only done once per make invocation? Setting the variables multiple times probably doesn't matter, so it's probably more a style question for Bryan than anything else. |
33 ↗ | (On Diff #46989) | s/on/in/ |