Remove gf2m modules from bn_asm if no-ec2m set.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 7 May 2011 22:56:56 +0000 (22:56 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 7 May 2011 22:56:56 +0000 (22:56 +0000)
Configure

index d1cf7cb..1b2e85f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1363,6 +1363,10 @@ if ($no_asm)
        $cflags=~s/\-D[BL]_ENDIAN//             if ($fips);
        $thread_cflags=~s/\-D[BL]_ENDIAN//      if ($fips);
        }
+elsif (defined($disabled{ec2m}))
+       {
+       $bn_obj =~ s/\w+-gf2m.o//;
+       }
 
 if (!$no_shared)
        {