Auto detect no-ec2m add option to make no-ec2m tarball.

This commit is contained in:
Dr. Stephen Henson 2011-04-10 18:30:13 +00:00
parent ccc5784e37
commit 4582626544
2 changed files with 11 additions and 0 deletions

View File

@ -1717,6 +1717,10 @@ while (<IN>)
s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.\$(SHLIB_MAJOR).dylib .dylib/;
}
s/^SHARED_LDFLAGS=.*/SHARED_LDFLAGS=$shared_ldflag/;
if ($fipscanisteronly == 2 && exists $disabled{"ec2m"})
{
next if (/ec2_/ || /bn_gf2m/);
}
print OUT $_."\n";
}
close(IN);

View File

@ -21,6 +21,13 @@ foreach (split / /, $ENV{LINKDIRS} ) { $cdirs{$_} = 1 };
$cdirs{perlasm} = 1;
if (exists $ENV{NOEC2M})
{
delete $tarobjs{"bn_gf2m.c"};
delete $tarobjs{"ec2_mult.c"};
delete $tarobjs{"ec2_smpl.c"};
}
my %keep =
(
"Makefile.fips" => 1,