Disable AFALG when cross-compiling
authorMatt Caswell <matt@openssl.org>
Wed, 16 Mar 2016 10:08:53 +0000 (10:08 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 16 Mar 2016 10:08:53 +0000 (10:08 +0000)
We don't currently support cross-compiling of the afalg engine. However
we were failing to explicitly mark it as disabled during Configure leading
to a failed build.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Configure

index 3751067cd4a80be765a65dbf4764b73bc4fea2fc..a4aac21334efe83259052f7ec290adcc7c98540a 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1208,6 +1208,8 @@ unless ($disabled{afalgeng}) {
             } else {
                 push @{$config{engdirs}}, "afalg";
             }
+        } else {
+            $disabled{afalgeng} = "cross-compiling";
         }
     } else {
         $disabled{afalgeng}  = "not-linux";