Michał Górny c65f608389 toolchain-funcs.eclass: Assume CPP="$(tc-getCC) -E" when unset, #582822
Modify the tc-getCPP and tc-getBUILD_CPP functions to use "$(tc-getCC)
-E" (i.e. the C compiler's preprocessing call) instead of falling back
to 'cpp'. This ensures that in environment with CC (and CXX) overriden
the correct compiler is used rather than the one selected by gcc-config,
which in turn fixes gcc version queries.

The alternative would be to always override CPP along with CC & CXX.
However, that is uncommon and is known to break some packages.

Bug: https://bugs.gentoo.org/show_bug.cgi?id=582822
2016-06-26 17:34:47 +02:00
2016-06-26 12:50:00 +03:00
2016-06-26 07:37:24 +02:00
2016-06-04 13:54:23 -04:00
2016-06-26 09:23:21 +02:00
2016-06-24 04:00:04 +10:00
2016-06-24 22:04:51 +02:00
2016-06-24 12:20:08 +02:00
2016-06-19 16:13:52 +03:00
2016-06-26 11:17:22 +00:00
2016-06-25 23:01:31 +02:00
2016-06-26 11:34:28 +02:00
2016-06-12 08:38:03 +02:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%