summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in1
-rw-r--r--common.mk2
-rw-r--r--win32/Makefile.sub2
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 09b7ca3322c..e1d9c3dee96 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -67,7 +67,6 @@ optflags = @optflags@
debugflags = @debugflags@
warnflags = @warnflags@ @strict_warnflags@
cppflags = @cppflags@
-INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir)
XCFLAGS = @XCFLAGS@
CPPFLAGS = @CPPFLAGS@ $(INCFLAGS)
LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
diff --git a/common.mk b/common.mk
index 93eb2925c49..90208344ac6 100644
--- a/common.mk
+++ b/common.mk
@@ -18,6 +18,8 @@ RUBYLIB = $(PATH_SEPARATOR)
RUBYOPT = -
RUN_OPTS = --disable-gems
+INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir)
+
GEM_HOME =
GEM_PATH =
GEM_VENDOR =
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 4fcb0144cd2..1791adbb18a 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -265,7 +265,7 @@ DLNOBJ = dln.obj
ARFLAGS = -machine:$(MACHINE) -out:
LD = $(CC)
LDSHARED = $(LD) -LD
-XCFLAGS = -DRUBY_EXPORT -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) -I$(srcdir)/missing $(XCFLAGS)
+XCFLAGS = -DRUBY_EXPORT $(INCFLAGS) $(XCFLAGS)
!if $(MSC_VER) >= 1400
# Prevents VC++ 2005 (cl ver 14) warnings
MANIFESTTOOL = mt -nologo