when CXX has whitespace, then cmake-utils_src_compile LD="$(tc-getCXX)" will fail horribly, while emake LD="$(tc-getCXX)" works just fine It seems there is a quote missing in cmake-utils_src_make: --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -592,7 +592,7 @@ _check_build_dir pushd "${BUILD_DIR}" >/dev/null - ${CMAKE_MAKEFILE_GENERATOR}_src_make $@ + ${CMAKE_MAKEFILE_GENERATOR}_src_make "$@" popd >/dev/null }
seems trivial enough to me, so I will fix this in 2 weeks if there are no objections
Thanks, fixed in CVS. + 09 Mar 2014; Michael Palimaka <kensington@gentoo.org> cmake-utils.eclass: + Add missing quotes wrt bug #503336.