]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
findbr: detect g++ compiler
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Oct 2017 16:58:59 +0000 (19:58 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Oct 2017 16:58:59 +0000 (19:58 +0300)
findbr

diff --git a/findbr b/findbr
index a0583e17a5a245b094e8723eb98840b6172b8b09..e1389ff4dc9b84b9cccd3ada59fd139ecbe52082 100755 (executable)
--- 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" );
        }
This page took 0.14728 seconds and 4 git commands to generate.