summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuiyue Xu <xuhuiyue@huawei.com>2023-11-09 10:54:02 +0800
committerTomas Mraz <tomas@openssl.org>2024-05-07 11:49:27 +0200
commit63158eb2419c99f455661b0682e54af53b56265d (patch)
treee89edb6d00220391351935e8881905b53e689f97
parenta79636d3aca7e996c2dc056a020488ea1fa396b1 (diff)
Add linux-arm64ilp32-clang target
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)
-rw-r--r--Configurations/10-main.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 2a047caa7d..b1719be14b 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -777,7 +777,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.