X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fblhc;h=47f4e2a8ca9027fe1996a31ba5739d49ca8a6782;hb=b84ebbd86fd950d7334d2a2b4adf977918a56a47;hp=666c2afc207ddbb6bbacb4d997c107d9306a0df9;hpb=5d47f4a04c4a45b6cacca330725539822b99a276;p=blhc%2Fblhc.git diff --git a/bin/blhc b/bin/blhc index 666c2af..47f4e2a 100755 --- a/bin/blhc +++ b/bin/blhc @@ -32,7 +32,7 @@ our $VERSION = '0.01'; # Regex to catch compiler commands. my $cc_regex = qr/(?:[a-z0-9_]+-(?:linux-|kfreebsd-)?gnu(?:eabi|eabihf)?-)? - (?:(?) { or $line =~ /^\s*(?:- )?(?:HOST_)?(?:CC|CXX)\s*=\s*$cc_regex\s*$/ or $line =~ /^\s*-- Check for working (?:C|CXX) compiler: / or $line =~ /^\s*(?:echo )?Using [A-Z_]+\s*=\s*/; - # Debian buildd output. - next if $line =~ /^\s*Depends: .*?$cc_regex.*?$/ - and $line !~ /\s-./; # option, prevent false negatives # Check if additional hardening options were used. Used to ensure # they are used for the complete build.