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 <rsalz@openssl.org>
This commit is contained in:
parent
6f84b383d3
commit
a33b13128f
@ -83,8 +83,6 @@ while(<IN>) {
|
|||||||
}
|
}
|
||||||
close(IN);
|
close(IN);
|
||||||
|
|
||||||
$debug = 1 if $mf_platform =~ /^debug-/;
|
|
||||||
|
|
||||||
if ($mf_fipscanisterinternal eq "y") {
|
if ($mf_fipscanisterinternal eq "y") {
|
||||||
$fips = 1;
|
$fips = 1;
|
||||||
$fipscanisterbuild = 1;
|
$fipscanisterbuild = 1;
|
||||||
@ -1401,6 +1399,7 @@ sub read_options
|
|||||||
"rsaref" => 0,
|
"rsaref" => 0,
|
||||||
"gcc" => \$gcc,
|
"gcc" => \$gcc,
|
||||||
"debug" => \$debug,
|
"debug" => \$debug,
|
||||||
|
"--debug" => \$debug,
|
||||||
"profile" => \$profile,
|
"profile" => \$profile,
|
||||||
"shlib" => \$shlib,
|
"shlib" => \$shlib,
|
||||||
"dll" => \$shlib,
|
"dll" => \$shlib,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user