sys-devel/make: default CXX to c++ instead of g++, #589894

Closes: https://github.com/gentoo/gentoo/pull/1982
Package-Manager: portage-2.2.28
Reviewed-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Lei Zhang
2017-04-14 17:34:25 +02:00
committed by Michał Górny
parent 677137d298
commit bace4a893f
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/default.c b/default.c
index 3d865c7..e8b3ed6 100644
--- a/default.c
+++ b/default.c
@@ -530,7 +530,7 @@ static const char *default_variables[] =
"OBJC", "gcc",
#else
"CC", "cc",
- "CXX", "g++",
+ "CXX", "c++",
"OBJC", "cc",
#endif
@@ -22,6 +22,7 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-3.82-darwin-library_search-dylib.patch
"${FILESDIR}"/${PN}-4.2-default-cxx.patch
)
src_prepare() {