[projects/cleanbuild] findbr: detect g++ compiler

glen glen at pld-linux.org
Tue Oct 17 18:59:05 CEST 2017


commit 84dce52425cecb54096bdbae46211fecd61f9e95
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Oct 17 19:58:59 2017 +0300

    findbr: detect g++ compiler

 findbr | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/findbr b/findbr
index a0583e1..e1389ff 100755
--- a/findbr
+++ b/findbr
@@ -478,6 +478,9 @@ while ( $_ = shift @lines ) {
 	if ( m{configure: error: C\+\+ compiler cannot create executables} ) {
 		add_br( "libstdc++-devel", "maybe try: %undefine\t__cxx" );
 	}
+	if ( m{ccache: error: Could not find compiler ".+-g\+\+" in PATH}) {
+		add_br("libstdc++-devel");
+	}
 	if ( m{configure: error: XML::Parser perl module is required for intltool} ) {
 		add_br( "perl-XML-Parser" );
 	}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/84dce52425cecb54096bdbae46211fecd61f9e95



More information about the pld-cvs-commit mailing list