Skip to content

Commit

Permalink
/arch:IA32 for x86
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Feb 5, 2016
1 parent 3037872 commit 153e28b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/arclite/example/makefile_vc
Expand Up @@ -10,6 +10,10 @@ LINKFLAGS = -nologo -incremental:no -map -manifest:no -dynamicbase -nxcompat -la
RCFLAGS = -nologo
ASFLAGS = -nologo -c

!if $(VC) >= 11 && "$(BUILD_PLATFORM)" == "X86"
CPPFLAGS=$(CPPFLAGS) /arch:IA32
!endif

!if $(VC) >= 14
FIXCRT_CPPFLAGS = /Zc:threadSafeInit-
!endif
Expand Down
4 changes: 4 additions & 0 deletions plugins/arclite/makefile_vc
Expand Up @@ -38,6 +38,10 @@ CPPFLAGS = $(CPPFLAGS) -Fo$(OUTDIR)\ -Fd$(OUTDIR)\ $(INCLUDES) $(DEFINES) $(USER
RCFLAGS = $(RCFLAGS) $(INCLUDES) $(DEFINES)
ASFLAGS = $(ASFLAGS) -Fo$(OUTDIR)\

!if $(VC) >= 11 && "$(BUILD_PLATFORM)" == "X86"
CPPFLAGS=$(CPPFLAGS) /arch:IA32
!endif

!if $(VC) >= 14
CPPFLAGS = $(CPPFLAGS) /Zc:threadSafeInit-
!endif
Expand Down
4 changes: 4 additions & 0 deletions plugins/makefile_vc_def_inc
Expand Up @@ -129,6 +129,10 @@ CPPFLAGS=$(CPPFLAGS) /DDEBUG /Od
CPPFLAGS=$(CPPFLAGS) /Zi
!endif

!if $(VC) >= 11 && "$(BUILD_PLATFORM)" == "X86"
CPPFLAGS=$(CPPFLAGS) /arch:IA32
!endif

!if $(VC) >= 14
CPPFLAGS = $(CPPFLAGS) /Zc:threadSafeInit-
!endif
Expand Down

0 comments on commit 153e28b

Please sign in to comment.