| Index: native_client_sdk/src/tools/host_vc.mk
|
| diff --git a/native_client_sdk/src/tools/host_vc.mk b/native_client_sdk/src/tools/host_vc.mk
|
| index 5bdfe5562eee35e31ba6b556135843f87381e285..c72389f6fda73ef2f5e5fa46a48e14f572f56a36 100644
|
| --- a/native_client_sdk/src/tools/host_vc.mk
|
| +++ b/native_client_sdk/src/tools/host_vc.mk
|
| @@ -20,6 +20,12 @@ HOST_CXX?=cl.exe /nologo /EHsc
|
| HOST_LINK?=link.exe /nologo
|
| HOST_LIB?=lib.exe /nologo
|
|
|
| +ifeq (,$(findstring cl.exe,$(shell $(WHICH) cl.exe)))
|
| +$(warning To skip the host build use:)
|
| +$(warning "make NO_HOST_BUILDS=1")
|
| +$(error Unable to find cl.exe in PATH while building Windows host build)
|
| +endif
|
| +
|
|
|
| ifeq ('Debug','$(CONFIG)')
|
| WIN_OPT_FLAGS?=/Od /MTd /Z7
|
|
|