summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-10-26 18:04:40 +0200
committerRichard Levitte <levitte@openssl.org>2016-10-26 18:22:20 +0200
commit4f3015bb30b7d95bb97408776b70e6a35fb91e8a (patch)
tree836cb8652aad4c8edd6d596406483216c51a283d
parentFix typo (reported by Matthias St. Pierre) (diff)
downloadopenssl-4f3015bb30b7d95bb97408776b70e6a35fb91e8a.tar.xz
openssl-4f3015bb30b7d95bb97408776b70e6a35fb91e8a.zip
VMS: tell the C compiler to use the ISO C94 standard
The current version of the VMS compiler provides C99 features, strictly language wise. Unfortunately, even the most recent standard library isn't fully updated for that standard, so we need to use an earlier standard that the compiler supports. Most importantly, this affects the __STDC_VERSION__ value, which the compiler unfortunately currently defaults to 199901L. With this change we won't have to give VMS special treatment when looking for features based on that macro. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1785)
-rw-r--r--Configurations/10-main.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 6735dfe45c..7c9b1905a8 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1761,7 +1761,7 @@ sub vms_info {
inherit_from => [ "BASE_VMS" ],
template => 1,
cc => "CC/DECC",
- cflags => picker(default => "/STANDARD=RELAXED/NOLIST/PREFIX=ALL",
+ cflags => picker(default => "/STANDARD=(ISOC94,RELAXED)/NOLIST/PREFIX=ALL",
debug => "/NOOPTIMIZE/DEBUG",
release => "/OPTIMIZE/NODEBUG"),
lflags => picker(default => "/MAP",