Index: utils/Makefile |
diff --git a/utils/Makefile b/utils/Makefile |
index 04261923e1b5f481f3697b23c3bb3dab1f3d1078..84581c907629c84905ecc495b581e90e6bfae6f5 100644 |
--- a/utils/Makefile |
+++ b/utils/Makefile |
@@ -11,6 +11,17 @@ LEVEL = .. |
PARALLEL_DIRS := FileCheck TableGen PerfectShuffle count fpcmp llvm-lit not \ |
unittest |
+# @LOCALMOD-BEGIN |
+ifeq ($(PNACL_BROWSER_TRANSLATOR),1) |
+ # In sandboxed mode, just build the bare minimum |
+ # Note: TableGen is usually built twice: |
+ # * once with host compiler |
+ # * also with the "given" compiler |
+ # Here we just disable that second build |
+ PARALLEL_DIRS := |
+endif |
+# @LOCALMOD-END |
+ |
EXTRA_DIST := check-each-file codegen-diff countloc.sh \ |
DSAclean.py DSAextract.py emacs findsym.pl GenLibDeps.pl \ |
getsrcs.sh llvmdo llvmgrep llvm-native-gcc \ |