From bef1ef36a13a4174d5907f5ecce11b7e17b06129 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 20 Dec 2023 08:25:22 +0100 Subject: VMS: Add the missing -p32 and -p64 variants for x86_64 The pointer size support is already in the code, and is present for all other supported hardwares. Fixes #22899 Reviewed-by: Tomas Mraz Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/23081) (cherry picked from commit a43f253d586279b5d96fffcaf1b26c7a2b0dd938) --- Configurations/10-main.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 7fb0fda866..2a047caa7d 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -2125,5 +2125,15 @@ my %targets = ( inherit_from => [ "vms-generic" ], bn_ops => "SIXTY_FOUR_BIT", pointer_size => "", + }, + "vms-x86_64-p32" => { + inherit_from => [ "vms-x86_64" ], + cflags => add("/POINTER_SIZE=32"), + pointer_size => "32", + }, + "vms-x86_64-p64" => { + inherit_from => [ "vms-x86_64" ], + cflags => add("/POINTER_SIZE=64=ARGV"), + pointer_size => "64", } ); -- cgit v1.2.3