From: Sophie Brun <sophie@offensive-security.com>
Date: Wed, 21 Aug 2019 10:40:50 +0200
Subject: Add support for arm* builds

Change target for OpenSSL to build on arm*.

Note that, when running in a armel/armhf container on a arm64 host, it's
the machine from the host that is reported by machine(), ie. aarch64. So
we need to support that as well.
---
 build_tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build_tasks.py b/build_tasks.py
index 5a36cf4..6e1fc4d 100644
--- a/build_tasks.py
+++ b/build_tasks.py
@@ -66,7 +66,7 @@ if architecture()[0] == "64bit":
         CURRENT_PLATFORM = SupportedPlatformEnum.OPENBSD_64
 elif architecture()[0] == "32bit":
     if platform in ["linux", "linux2"]:
-        if machine() == "armv7l":
+        if machine().startswith(('aarch', 'arm')):
             CURRENT_PLATFORM = SupportedPlatformEnum.LINUX_ARM32
         else:
             CURRENT_PLATFORM = SupportedPlatformEnum.LINUX_32
