summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-06-17 09:30:26 +0200
committerMichał Górny <mgorny@gentoo.org>2016-06-26 17:34:47 +0200
commitc65f6083898968b5442eeb66afd4298a3b4264e2 (patch)
tree2c37f0dc0f16a0dd0f2fea8a61f5dfdb4cf50a17 /metadata/md5-cache/dev-java/xml-commons-external-1.3.04
parenttoolchain-funcs.eclass: Fix _tc-getPROG with multi-parameter defaults (diff)
downloadgentoo-c65f6083898968b5442eeb66afd4298a3b4264e2.tar.gz
gentoo-c65f6083898968b5442eeb66afd4298a3b4264e2.tar.bz2
gentoo-c65f6083898968b5442eeb66afd4298a3b4264e2.zip
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
Diffstat (limited to 'metadata/md5-cache/dev-java/xml-commons-external-1.3.04')
0 files changed, 0 insertions, 0 deletions