Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1199)

Unified Diff: native_client_sdk/src/tools/common.mk

Issue 806283003: [NaCl SDK] Always use cmd.exe for SHELL in Windows Makefiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whoops, typo Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/resources/Makefile.index.template ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tools/common.mk
diff --git a/native_client_sdk/src/tools/common.mk b/native_client_sdk/src/tools/common.mk
index a4e827ad05b00866549b00bc20f42624aa96bd5c..c2ed49452b1f355532f7e5ec9eb1e3bff8649552 100644
--- a/native_client_sdk/src/tools/common.mk
+++ b/native_client_sdk/src/tools/common.mk
@@ -142,7 +142,11 @@ endif
# Disable DOS PATH warning when using Cygwin based NaCl tools on Windows.
#
ifeq ($(OSNAME),win)
- CYGWIN?=nodosfilewarning
+ # Always use cmd.exe as the shell on Windows. Otherwise Make may try to
+ # search the path for sh.exe. If it is found in a path with a space, the
+ # command will fail.
+ SHELL := cmd.exe
+ CYGWIN ?= nodosfilewarning
export CYGWIN
endif
« no previous file with comments | « native_client_sdk/src/resources/Makefile.index.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698