my $option_all = 0;
my $option_arch = undef;
my $option_buildd = 0;
+my $option_debian = 0;
$option_color = 0;
if (not Getopt::Long::GetOptions(
'help|h|?' => \$option_help,
'color' => \$option_color,
'arch=s' => \$option_arch,
'buildd' => \$option_buildd,
+ 'debian' => \$option_debian,
)) {
require Pod::Usage;
Pod::Usage::pod2usage(2);
my $parallel = 10;
# Don't check for PIE flags if automatically applied by the compiler. Only
- # used in buildd mode.
+ # used in buildd and Debian mode.
my $disable_harden_pie = 0;
+ if ($option_debian) {
+ $disable_harden_pie = 1;
+ }
while (my $line = <$fh>) {
# Detect architecture automatically unless overridden. For buildd logs
=back
+=item B<--debian>
+
+Apply Debian-specific settings. At the moment this only disables checking for
+PIE which is automatically applied by Debian's GCC and no longer requires a
+compiler command line argument.
+
=item B<--color>
Use colored (ANSI) output for warning messages.