VMS: Add the missing -p32 and -p64 variants for x86_64
authorRichard Levitte <levitte@openssl.org>
Wed, 20 Dec 2023 07:25:22 +0000 (08:25 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 8 Jan 2024 06:28:19 +0000 (07:28 +0100)
The pointer size support is already in the code, and is present for
all other supported hardwares.

Fixes #22899

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/23081)

(cherry picked from commit a43f253d586279b5d96fffcaf1b26c7a2b0dd938)

Configurations/10-main.conf

index 7fb0fda8666694a5aab8ed720431444725766455..2a047caa7d4a46673f7cf5934e36c1af0ed79e33 100644 (file)
@@ -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",
     }
 );