X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=c4e814c0cae8275355fdea6ca996170982c9a90f;hp=838f3c35a777c0f03aad99b6975970b7d0ccc77f;hb=e00e2e347199b213d24540949b832d14cf5bd5dc;hpb=766ce7c378d81e02b6cf993ba5c39f8729daf43a diff --git a/bin/blhc b/bin/blhc index 838f3c3..c4e814c 100755 --- a/bin/blhc +++ b/bin/blhc @@ -972,6 +972,8 @@ foreach my $file (@ARGV) { # look like a compiler executable thus causing the line to be # treated as a normal compiler line. next if $line =~ m{^\s*rm\s+}; + # Some build systems emit "gcc > file". + next if $line =~ m{$cc_regex_normal\s*>\s*\S+}; # Check if additional hardening options were used. Used to ensure # they are used for the complete build.