From a33b13128fd141baaea72b038a502a7904138d91 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 13 Jan 2016 20:39:58 +0100 Subject: [PATCH] Quick fix of debugging option for mk1mf.pl. util/mk1mf.pl was relying on the platform having the 'debug-' prefix for doing a debug build. Since the setup of targets has changed, this is no longer true. However, it can look for '--debug' in the command line options. Reviewed-by: Rich Salz --- util/mk1mf.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index bac5a6f4e9..64ad29adeb 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -83,8 +83,6 @@ while() { } close(IN); -$debug = 1 if $mf_platform =~ /^debug-/; - if ($mf_fipscanisterinternal eq "y") { $fips = 1; $fipscanisterbuild = 1; @@ -1401,6 +1399,7 @@ sub read_options "rsaref" => 0, "gcc" => \$gcc, "debug" => \$debug, + "--debug" => \$debug, "profile" => \$profile, "shlib" => \$shlib, "dll" => \$shlib, -- 2.25.1