cdrkit build (cmake bases) uses simple compiler name - "c++" - instead of fully qualified one. That breaks cross and/or distributed compilations. Reproducible: Always
Hmm, sounds like an error due to the 'which-cleanup' discussion on gentoo-dev. It seems I have to find another way for telling cmake the correct compiler-path.
Care to elaborate? I'm developer - I might understand what you say ;-) Why good old 'CC="ccache distcc gcc" make love' doesn't work? I'm not familiar with cmake, but my understanding was that it doesn't care much and just picks as $(CC) whatever it is told.
This should be fixed with cdrkit-1.1.4. cmake was missing a variable for the location of c++, so it ever took the default, just "c++" instead of something else given by the environment. Please test.
I have tried it now and it works. Though my cdrkit is at version 1.1.2.