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

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

Issue 15974011: [NaCl SDK] Remove NACL_ARCH from commom makefiles. (Closed) Base URL: http://git.chromium.org/chromium/src.git@cleanup_genhttpfs
Patch Set: Created 7 years, 6 months 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/examples/tutorial/dlopen/dlopen.cc ('k') | native_client_sdk/src/tools/nacl_gcc.mk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 945fee3892e6bf898b10bc242cde87fb0b0e3e13..d41629b22d8e9a762715d74392caa4f425e048b3 100644
--- a/native_client_sdk/src/tools/host_vc.mk
+++ b/native_client_sdk/src/tools/host_vc.mk
@@ -27,13 +27,13 @@ $(error Unable to find cl.exe in PATH while building Windows host build)
endif
-ifeq ('Debug','$(CONFIG)')
-WIN_OPT_FLAGS ?= /Od /MTd /Z7 -D NACL_SDK_DEBUG
-else
+ifeq ($(CONFIG),Release)
WIN_OPT_FLAGS ?= /O2 /MT /Z7
+else
+WIN_OPT_FLAGS ?= /Od /MTd /Z7 -DNACL_SDK_DEBUG
endif
-WIN_FLAGS ?= -D WIN32 -D _WIN32 -D PTW32_STATIC_LIB
+WIN_FLAGS ?= -DWIN32 -D_WIN32 -DPTW32_STATIC_LIB
#
« no previous file with comments | « native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc ('k') | native_client_sdk/src/tools/nacl_gcc.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698