freebsd-nq/lib/atf
Enji Cooper eab5e7a376 Don't bake all of CC/CPP/CXX into CFLAGS
Capture executable names for CC, CPP, CXX (assumed to be the
first non-CCACHE_BIN word).

This change strips out all of the cross-compiler arguments, (-target,
-B, etc), added to ${CC}, etc via ${CROSSENV} in Makefile.inc1, so it
doesn't infect the build and subsequently the test.

Add comments noting why this logic is being added, and why the logic in
r305041 was necessary/what it was trying to achieve.

This is required after recent changes made to the toolchain to always
specify --sysroot, -target, -B, etc with clang in buildworld (presumably
r304681).

Reviewed by:	rodrigc (earlier version)
Reported by:	Jenkins (FreeBSD_HEAD job from 559+)
MFC after:	12 days
X-MFC with:	r304681, r305041
Sponsored by:	EMC / Isilon Storage Division
Differential Revision:	https://reviews.freebsd.org/D7732
2016-09-01 02:42:11 +00:00
..
libatf-c Don't bake all of CC/CPP/CXX into CFLAGS 2016-09-01 02:42:11 +00:00
libatf-c++ Minor Makefile simplifications for lib/atf/... 2016-08-29 22:47:53 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
common.mk MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00
Makefile Remove bogus .ORDER. 2016-03-11 23:45:42 +00:00
Makefile.inc MFV: Import atf-0.21. 2014-11-01 11:17:54 +00:00