Skip to content

Commit

Permalink
sys-devel/make: default CXX to c++ instead of g++, #589894
Browse files Browse the repository at this point in the history
Closes: gentoo#1982
Package-Manager: portage-2.2.28
Reviewed-by: Anthony G. Basile <[email protected]>
  • Loading branch information
Lei Zhang authored and mgorny committed Apr 14, 2017
1 parent 677137d commit bace4a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sys-devel/make/files/make-4.2-default-cxx.patch
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit bace4a8

Please sign in to comment.