X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;fp=bin%2Fblhc;h=97e8e7f5c0be8300d6cfaad0f819b794f333f4c0;hp=5bbcae73a63cbbebaef4a7096f6a253224ebb38b;hb=d21483572c60a901b17ab5febf537efa89cd26ba;hpb=fb2c46d23c6052c714729d70d33d54011374689b diff --git a/bin/blhc b/bin/blhc index 5bbcae7..97e8e7f 100755 --- a/bin/blhc +++ b/bin/blhc @@ -206,7 +206,7 @@ my $file_extension_regex = qr/ # Expected (hardening) flags. All flags are used as regexps (and compiled to # real regexps below for better execution speed). my @def_cflags = ( - '-g', + '-g3?', '-O(?:2|3)', # keep at index 1, search for @def_cflags_debug to change it ); my @def_cflags_debug = ( @@ -296,6 +296,7 @@ my @flag_refs_all = ( # Renaming rules for the output so the regex parts are not visible. Also # stores string values of flag regexps above, see compile_flag_regexp(). my %flag_renames = ( + '-g3?' => '-g', '-O(?:2|3)' => '-O2', '-Wformat(?:=2)?' => '-Wformat', '--param[= ]ssp-buffer-size=4' => '--param=ssp-buffer-size=4',