//o is a performance optimization which tells Perl to never recompile
the regex (per default it's recompiled if any used variable changes).
//o might not be necessary in recent Perl versions but in the past this
check had a measurable performance impact.
So add it for consistency and because we actually never change the
variable.
# 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+};
+ next if $line =~ m{$cc_regex_normal\s*>\s*\S+}o;
# Check if additional hardening options were used. Used to ensure
# they are used for the complete build.