mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Makefile.sub: cpp out for older VC
* win32/Makefile.sub (CPPOUTFLAG, MJIT_HEADER_FLAGS): -Fi option is available since VC 10. redirect stdout on older versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2b79ab512c
commit
cb1cde4621
1 changed files with 8 additions and 0 deletions
|
@ -213,7 +213,11 @@ OUTFLAG = -Fe
|
|||
COUTFLAG = -Fo
|
||||
!endif
|
||||
!if !defined(CPPOUTFLAG)
|
||||
! if $(MSC_VER) < 1600
|
||||
CPPOUTFLAG = >
|
||||
! else
|
||||
CPPOUTFLAG = -Fi
|
||||
! endif
|
||||
!endif
|
||||
!if !defined(CSRCFLAG)
|
||||
CSRCFLAG = -Tc
|
||||
|
@ -289,7 +293,11 @@ LDSHARED_1 = @if exist $(@).manifest $(MANIFESTTOOL) -manifest $(@).manifest -ou
|
|||
LDSHARED_2 = @if exist $(@).manifest @$(RM) $(@:/=\).manifest
|
||||
!endif
|
||||
CPPFLAGS = $(DEFS) $(ARCHDEFS) $(CPPFLAGS)
|
||||
!if "$(CPPOUTFLAG)" == ">"
|
||||
MJIT_HEADER_FLAGS =
|
||||
!else
|
||||
MJIT_HEADER_FLAGS = -P
|
||||
!endif
|
||||
MJIT_HEADER_SUFFIX =
|
||||
MJIT_HEADER_ARCH =
|
||||
MJIT_HEADER_INSTALL_DIR = include/$(RUBY_VERSION_NAME)/$(arch)
|
||||
|
|
Loading…
Reference in a new issue