Make DMAKE import everything from the environment like NMAKE does
authorSteve Hay <steve.m.hay@googlemail.com>
Thu, 15 Aug 2013 13:02:10 +0000 (14:02 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Thu, 15 Aug 2013 13:02:10 +0000 (14:02 +0100)
We already imported WIN64, CCHOME and a couple of others. It is useful to
have CCTYPE and GCCCROSS as well, and in fact we may as well simply import
everything since that is what NMAKE does anyway.

win32/makefile.mk

index 7e0e974..97295f7 100644 (file)
 ## Make sure you read README.win32 *before* you mess with anything here!
 ##
 
+#
+# Import everything from the environment like NMAKE does.
+#
+.IMPORT : .EVERYTHING
+
 ##
 ## Build configuration.  Edit the values below to suit your needs.
 ##
@@ -303,8 +308,6 @@ BUILDOPT    += -DPERL_IMPLICIT_CONTEXT
 BUILDOPT       += -DPERL_IMPLICIT_SYS
 .ENDIF
 
-.IMPORT .IGNORE : PROCESSOR_ARCHITECTURE PROCESSOR_ARCHITEW6432 WIN64 CCHOME
-
 PROCESSOR_ARCHITECTURE *= x86
 
 .IF "$(WIN64)" == ""