summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 386fcbfd69..ed89832f0e 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -113,6 +113,9 @@ ARCH = $(MACHINE)
!if !defined(DEBUGFLAGS)
DEBUGFLAGS = -Zi
!endif
+!if "$(RUBY_DEVEL)" == "yes"
+DEBUGFLAGS = $(DEBUGFLAGS) -DRUBY_DEVEL=1
+!endif
!if !defined(OPTFLAGS)
!if $(MSC_VER) < 1400
OPTFLAGS = -O2b2xg-