aboutsummaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-11-04 14:08:25 +0100
committerRichard Levitte <levitte@openssl.org>2016-11-04 15:36:25 +0100
commitfb0abdceffd5385f0a009f8a65d97ea975a5add1 (patch)
tree7e86e9994f8e50096ff5e7203fab8069e1ec6fc6 /Configurations
parent308b876da9eff2f6455a32751b7ffeeaf6ee3fb8 (diff)
downloadopenssl-fb0abdceffd5385f0a009f8a65d97ea975a5add1.tar.gz
VMS: correct the logic around linking executables
The logic around avoiding MULDEF warnings was flawed. Simplifying it makes it better. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1846)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/descrip.mms.tmpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/Configurations/descrip.mms.tmpl b/Configurations/descrip.mms.tmpl
index 15e0678ac5..b3e2cc4948 100644
--- a/Configurations/descrip.mms.tmpl
+++ b/Configurations/descrip.mms.tmpl
@@ -788,11 +788,14 @@ $bin.EXE : $deps
search_severity = \$severity
@ ! search_severity is 3 when the last search didn't find any matching
@ ! string: %SEARCH-I-NOMATCHES, no strings matched
- -@ IF search_severity .NE. 3 .OR. link_severity .NE. 1 THEN -
- TYPE $bin.LINKLOG
+ @ ! If that was the result, we pretend linking got through without
+ @ ! fault or warning.
+ @ IF search_severity .EQ. 3 THEN link_severity = 1
+ @ ! At this point, if link_severity shows that there was a fault
+ @ ! or warning, make sure to restore the linking status.
+ -@ IF .NOT. link_severity THEN TYPE $bin.LINKLOG
-@ DELETE $bin.LINKLOG;*
- @ IF search_severity .NE. 3 .OR. link_severity .NE. 1 THEN -
- SPAWN/WAIT/NOLOG EXIT 'link_status'
+ @ IF .NOT. link_severity THEN SPAWN/WAIT/NOLOG EXIT 'link_status'
- PURGE $bin.EXE,$bin.OPT
EOF
}