VMS build file template: assign 'arch' to local symbol table
authorRichard Levitte <levitte@openssl.org>
Fri, 4 Nov 2016 18:11:11 +0000 (19:11 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 4 Nov 2016 18:11:11 +0000 (19:11 +0100)
Since the local symbol table is looked up before the global symbol
table, 'arch' assigned in the local symbol table of the DCL where MMS
is called would be seen before the 'arch' defined in descrip.mms.
Assigning it to the local symbol table in descrip.mms removes that
issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1853)

Configurations/descrip.mms.tmpl

index 2c58078..d8c0d7a 100644 (file)
@@ -222,7 +222,7 @@ NODEBUG=@
         $(NODEBUG) !
         $(NODEBUG) ! Figure out the architecture
         $(NODEBUG) !
-        $(NODEBUG) arch == f$edit( f$getsyi( "arch_name"), "upcase")
+        $(NODEBUG) arch = f$edit( f$getsyi( "arch_name"), "upcase")
         $(NODEBUG) !
         $(NODEBUG) ! Set up logical names for the libraries, so LINK and
         $(NODEBUG) ! running programs can use them.