[kde-freebsd] maintainer-feedback requested: [Bug 203793] Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 15 17:52:44 UTC 2015
Dimitry Andric <dim at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 203793: Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling
C++ programs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203793
--- Description ---
Created attachment 162078
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162078&action=edit
Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++
programs
Related to bug 200475, which was about an exp-run with the "CC" alias for "c++"
removed from the base system, I noticed that even the latest CMake port still
prefers "CC" over "c++" whenever it can find it.
This is all due to a pretty old upstream commit in CMake:
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e58e5bb68cb058370b5015f576
ee5507e56facc
The commit message has: 'By default use "cc" for C, "CC" for C++, and "f95" for
Fortran.'
I would like to change the default for C++, and the order in which the
compilers are detected, as in the attached patch. This only affects the
CMakeDetermineCXXCompiler.cmake module.
More information about the kde-freebsd
mailing list