diff options
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rw-r--r-- | win32/Makefile.sub | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 09b7ca3322..e1d9c3dee9 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@ @@ -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 4fcb0144cd..1791adbb18 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 |