[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:54:00 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203793

--- Comment #5 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Raphael Kubo da Costa from comment #4)
...
> I see. But is there any downside to using CC if it's available? I'm trying
> to think from an upstream perspective, to whom a commit changing the order
> with no effects might seem unnecessary.

No, if CC exists it should behave the same as c++.  But CC is simply
non-standard, and should not be used.  From the beginning, CMake should really
have used c++ over CC.

...
> I'm not sure if there's anything to be fixed in the first place, especially
> if you send it upstream and this changes behavior in all platforms CMake
> supports. I'm again assuming this is something upstreamable that either you
> or I will send to the appropriate list.

Yeah, this should probably go upstream instead of in our port.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list