]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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:16:21 +0000 (07:16 +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)

Configurations/10-main.conf

index 280a75b213f25c5e6f53acb4bb4702a1363dfcba..ff8af71463188ca4c148a4892cfa6a75607083dd 100644 (file)
@@ -1941,5 +1941,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",
     }
 );