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

Unified Diff: Makefile.standalone

Issue 1787143002: Subzero: Allow Makefile.standalone to build for a single target. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | src/IceCompileServer.cpp » ('j') | src/IceTargetLowering.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.standalone
diff --git a/Makefile.standalone b/Makefile.standalone
index 0949b666022c1b5093293807800b6cd97b71d295..40d9692093f5e1c7c6beaed19fd19758d5c7a049 100644
--- a/Makefile.standalone
+++ b/Makefile.standalone
@@ -100,6 +100,16 @@ else
BASE_CXX_DEFINES += -DALLOW_DUMP=1
endif
+# Restrict to a single supported target. Current options:
+# SZTARGET=ARM32
John 2016/03/12 17:43:13 what do you think about adding a comment to Makefi
Jim Stichnoth 2016/03/12 18:22:44 Good idea, done.
+# SZTARGET=MIPS32
+# SZTARGET=X8632
+# SZTARGET=X8664
+ifdef SZTARGET
+ OBJDIR := $(OBJDIR)+T_$(SZTARGET)
+ BASE_CXX_DEFINES += -DSZTARGET=$(SZTARGET)
+endif
+
CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0
ifdef NOASSERT
« no previous file with comments | « no previous file | src/IceCompileServer.cpp » ('j') | src/IceTargetLowering.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698