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 <richard@levitte.org>
Fri, 4 Nov 2016 19:19:06 +0000 (20:19 +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)
(cherry picked from commit 3ee24d4acaff1c247db89c5cfcac17749dc3d7bc)

Configurations/descrip.mms.tmpl

index aef5fcf4bf8c40d226d55a88217c500fcd971df0..da57049c2d24d57af09e910c08264ba96f4fa689 100644 (file)
@@ -223,7 +223,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.