summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-26 06:32:09 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-09-26 06:32:09 +0000
commit8af68b08a0049d8662207562893a8edbf8ecff52 (patch)
tree463d81cf775e1602536ad625be0606f06f3488bf /win32/Makefile.sub
parentd2dd0c30d1cc6533b8ab6f6ec295359da3fe622a (diff)
* win32/Makefile.sub (CPP): check predefined value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 706c078b54..c4e2f2c66d 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -40,7 +40,7 @@ VPATH = $(srcdir);$(srcdir)/missing;$(srcdir)/win32
!if !defined(CC)
CC = cl
!endif
-!if !defined(CPP)
+!if !defined(CPP) || "$(CPP)" == "cl"
CPP = $(CC) -E
!endif
!if !defined(YACC)