[kde-freebsd] [Bug 203793] Fix devel/cmake-modules so it prefers "c++" over "CC" for compiling C++ programs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 17 19:02:12 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203793
--- Comment #3 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Raphael Kubo da Costa from comment #2)
> I think I'm still missing some context. Bug 200475 was about removing CC; if
> CMake worked fine in that case, which problem is it solving here (ie. with
> CC still present)? Is there a plan to make CC != c++?
The plan is to remove /usr/bin/CC in head. However, on older branches,
/usr/bin/CC will still exist. In my opinion, cmake should prefer calling "c++"
over "CC", if the former is available, that is all.
> Also, instead of changing CMakeDetermineCXXCompiler.cmake, doesn't adding a
> Modules/Platform/FreeBSD-CXX.cmake similar to the Linux one also solve the
> problem you are trying to fix?
Yes, but why would that be better than just fixing the C++ compiler
determination for all platforms?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list