]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add linux-arm64ilp32-clang target
authorHuiyue Xu <xuhuiyue@huawei.com>
Thu, 9 Nov 2023 02:54:02 +0000 (10:54 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 7 May 2024 09:49:35 +0000 (11:49 +0200)
While clang 15 config target by '--target', not cannot support
'-mabi=ilp32', so add the linux-arm64ilp32-clang target.

Signed-off-by: Huiyue Xu <xuhuiyue@huawei.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22666)

(cherry picked from commit 69bd5e4fff8ac9bf4dc3ed6fd87b5a5858edbb01)

Configurations/10-main.conf

index 0baa0a440b2d2af1e81751ce2c3831f980e55387..d029a8b2fe559b9036a0fdd630acafc6d69b2436 100644 (file)
@@ -784,7 +784,14 @@ my %targets = (
         asm_arch         => 'aarch64',
         perlasm_scheme   => "linux64",
     },
-
+    "linux-arm64ilp32-clang" => {  # clang config abi by --target
+        inherit_from     => [ "linux-generic32" ],
+        CC               => "clang",
+        CXX              => "clang++",
+        bn_ops           => "SIXTY_FOUR_BIT RC4_CHAR",
+        asm_arch         => 'aarch64',
+        perlasm_scheme   => "linux64",
+    },
     "linux-mips32" => {
         # Configure script adds minimally required -march for assembly
         # support, if no -march was specified at command line.