X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=3b7f746113c319484b10f900f7c1fa50228d8e29;hp=44fa3cee9d74821e8a883c226d55e657ae8bfd1c;hb=a4712dd7fab2e1e14ba27894279dc793d1944536;hpb=3c58bb7a1e0b6d9a67b8cba18affe657b2aecbbf diff --git a/bin/blhc b/bin/blhc index 44fa3ce..3b7f746 100755 --- a/bin/blhc +++ b/bin/blhc @@ -532,7 +532,7 @@ sub is_non_verbose_build { if (not (index($line, 'checking if you want to see long compiling messages... no') == 0 or $line =~ /^\s*\[?(?:CC|CCLD|C\+\+|CXX|CXXLD|LD|LINK)\]?\s+(.+?)$/ - or $line =~ /^\s*[Cc]ompiling\s+(.+?)(?:\.\.\.)?$/ + or $line =~ /^\s*[][\/0-9 ]*[Cc]ompiling\s+(.+?)(?:\.\.\.)?$/ or $line =~ /^\s*[Bb]uilding (?:program|shared library)\s+(.+?)$/ or $line =~ /^\s*\[[\d ]+%\] Building (?:C|CXX) object (.+?)$/)) { return 0; @@ -1078,6 +1078,8 @@ foreach my $file (@ARGV) { next if $line =~ m#(?:\b[0-9a-fA-F]{2,}\b\s*){5}#; # Meson build output next if $line =~ /^C\+\+ linker for the host machine: /; + # Embedded `gcc -print-*` commands + next if $line =~ /`$cc_regex_normal\s*[^`]*-print-\S+`/; # Check if additional hardening options were used. Used to ensure # they are used for the complete build.