X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=bin%2Fblhc;h=993b3e751114109cd10b8f7f51b5063de4f4bf06;hp=880d24df4d2599f6cae394595bb1eafd6fce4665;hb=c210cea572fd379f569260fcfee0fb85d56800ec;hpb=b3ca9e9ee79d2724e68db6540c3b03f05cace60c diff --git a/bin/blhc b/bin/blhc index 880d24d..993b3e7 100755 --- a/bin/blhc +++ b/bin/blhc @@ -27,6 +27,50 @@ use Term::ANSIColor (); our $VERSION = '0.01'; +# CONSTANTS/VARIABLES + +# Regex to catch compiler commands. +my $cc_regex = qr/(?:x86_64-linux-gnu-)?(?:(? '-Wl,-z,relro', + '-Wl,(-z,)?now' => '-Wl,-z,now', +); + + # FUNCTIONS sub error_flags { @@ -152,50 +196,6 @@ sub is_non_verbose_build { } -# CONSTANTS/VARIABLES - -# Regex to catch compiler commands. -my $cc_regex = qr/(?:x86_64-linux-gnu-)?(?:(? '-Wl,-z,relro', - '-Wl,(-z,)?now' => '-Wl,-z,now', -); - - # MAIN # Additional hardening options.