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 |
+# 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 |