GNU Make defaults CXX to g++ instead of c++, which is problematic on systems where g++ isn't the default C++ compiler or gcc/g++ are not provided at all (e.g. modern FreeBSD). In either case, c++ is still valid; it could be a symlink to or a copy of whatever C++ compiler used as the default. FWIW, macOS's modified version of GNU Make and FreeBSD's own Make both default CXX to c++.
feel free to make such a request upstream: https://savannah.gnu.org/bugs/?func=additem&group=make i don't see us changing make.
(In reply to SpanKY from comment #1) > feel free to make such a request upstream: > https://savannah.gnu.org/bugs/?func=additem&group=make > > i don't see us changing make. I'm proposing to apply a downstream patch to Make so that CXX defaults to c++ instead of g++. This makes sense if we want to support non-gcc compilers as default compiler in Gentoo. Please see this thread for discussion: https://archives.gentoo.org/gentoo-dev/message/4419c24d5d4e55422f725580c729bd4f
(In reply to Lei Zhang from comment #2) your request is not Gentoo specific and should go upstream
(In reply to SpanKY from comment #3) > (In reply to Lei Zhang from comment #2) > > your request is not Gentoo specific and should go upstream I tried, but the upstream guys seem not interested...
you haven't linked to any upstream discussions
(In reply to SpanKY from comment #5) > you haven't linked to any upstream discussions Sorry. Here it is: http://lists.gnu.org/archive/html/bug-make/2016-07/msg00020.html
Guys, any reason not to proceed here?
Reopening to hopefully get some attention here and a final decision how to proceed.
commit 41815b5598cad067c07e1c6f09b118e2114a675f Author: Lei Zhang <zhanglei.april@gmail.com> AuthorDate: Wed Jul 27 23:36:35 2016 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Fri Apr 14 18:27:59 2017 sys-devel/make: default CXX to c++ instead of g++, #589894 Now with ~arch revbump! Closes: https://github.com/gentoo/gentoo/pull/1982 Package-Manager: portage-2.2.28 Reviewed-by: Anthony G. Basile <blueness@gentoo.org>