]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't run cc --version during cleandir/obj stages
authorarichardson <arichardson@FreeBSD.org>
Wed, 31 Oct 2018 10:45:28 +0000 (10:45 +0000)
committerarichardson <arichardson@FreeBSD.org>
Wed, 31 Oct 2018 10:45:28 +0000 (10:45 +0000)
commitcc923225b4744af8aa6323da1035fa90a7a66cff
tree4599bc49bf3d938535b3e55135b315dabcccfa56
parentf34bbdd22f1d2e1a664893814b04004536ea4b6d
Don't run cc --version during cleandir/obj stages

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.

Reviewed By: emaste
Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D16814
Makefile.inc1
share/mk/bsd.compiler.mk