Import WIN64 environment variable into makefile.mk
authorJan Dubois <jand@activestate.com>
Fri, 14 Aug 2009 17:51:06 +0000 (10:51 -0700)
committerDavid Mitchell <davem@iabyn.com>
Sat, 15 Aug 2009 16:22:21 +0000 (17:22 +0100)
nmake.exe will import environment variables as macro definitions
by default, but for dmake.exe we need to import them explicitly.

(cherry picked from commit 9b1007c4e438dba14baad3734235d8f0f8cfa7fe)

win32/makefile.mk

index 153a23c..78491af 100644 (file)
@@ -330,7 +330,7 @@ BUILDOPT    += -DPERL_IMPLICIT_CONTEXT
 BUILDOPT       += -DPERL_IMPLICIT_SYS
 .ENDIF
 
-.IMPORT .IGNORE : PROCESSOR_ARCHITECTURE PROCESSOR_ARCHITEW6432
+.IMPORT .IGNORE : PROCESSOR_ARCHITECTURE PROCESSOR_ARCHITEW6432 WIN64
 
 PROCESSOR_ARCHITECTURE *= x86