avoid $(CrossCompilerPrefix) for stage2 install
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 5 Apr 2017 21:31:37 +0000 (22:31 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 6 Apr 2017 08:30:03 +0000 (09:30 +0100)
commitf2685df3b10e13f142736f28835e9064334bc143
tree45a0b279b01c1f50cdf6790b9e60bdaafa26799c
parent6ff98b962db15d18eb1d082fe344cef692ecef8e
avoid $(CrossCompilerPrefix) for stage2 install

Suppose we are crossbuilding ghc (when ghc-stage2
is a normal compiler for $target):

For this case 'make install' should install unprefixed
stage2 'ghc' and not '$(CorssCompilePrefix)-ghc'.

That way cross-built ghc is installable and
usable on target as if it would be built natively
on a target.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
mk/config.mk.in