X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=bin%2Fblhc;h=71c97cef5bda0e31a5282160557c2e769898e520;hb=ac8118289ece66a515f2602928242d9179401fbb;hp=5c01ada03ff269953838fef909e31f7b7cbffd96;hpb=95bb26de690e971a07780da13c5fa19ab61864e8;p=blhc%2Fblhc.git diff --git a/bin/blhc b/bin/blhc index 5c01ada..71c97ce 100755 --- a/bin/blhc +++ b/bin/blhc @@ -312,7 +312,7 @@ if (not Getopt::Long::GetOptions( 'all' => \$option_all, # Misc. 'color' => \$option_color, - 'arch' => \$option_arch, + 'arch=s' => \$option_arch, 'buildd' => \$option_buildd, )) { require Pod::Usage; @@ -466,6 +466,8 @@ while (my $line = <>) { 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*/; + # `make` output. + next if $line =~ /^Making [a-z]+ in \S+/; # e.g. "[...] in c++" # Check if additional hardening options were used. Used to ensure # they are used for the complete build.