From 01f06617b113932c06523cbd89e5272dce2fda34 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 30 Jun 2011 19:18:41 +0000 Subject: [PATCH] Recognise fipscheck option and call fipsas for WIN64 builds. --- util/mk1mf.pl | 1 + util/pl/VC-32.pl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index f00909a0a3..4bf4a1aea2 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -1375,6 +1375,7 @@ sub read_options "fips" => \$fips, "fipscanisterbuild" => [\$fips, \$fipscanisterbuild], "fipscanisteronly" => [\$fips, \$fipscanisterbuild, \$fipscanisteronly], + "fipscheck" => [\$fips, \$fipscanisterbuild, \$fipscanisteronly], ); if (exists $valid_options{$_}) diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 693adae6e4..6918e8898d 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -64,6 +64,10 @@ if ($FLAVOR =~ /WIN64/) \$(TMP_D)$o$bname.asm: $source set ASM=\$(ASM) \$(PERL) $source \$\@ +___ + $ret .= "\t\$(PERL) util\\fipsas.pl . \$@ norunasm \$(CFLAG)\n" if $fipscanisterbuild; + + $ret.=<<___; $target: \$(TMP_D)$o$bname.asm \$(ASM) $afile\$\@ \$(TMP_D)$o$bname.asm -- 2.25.1