Use '-usersandbox' instead of '-sandbox'.
'-sandbox' no longer works for gcc ebuild file.
PRESUBMIT=passed
R=asharif
CC=llozano,yunlian,cmtice,carrot,bjanakiraman
OCL=61076-p2
RCL=61099-p2
RDATE=2012/06/19 11:47:55
TEST=build gcc 4.7 using the script.
P4 change: 42786918
diff --git a/v14/build_tc.py b/v14/build_tc.py
index 822de85..02c17c4 100755
--- a/v14/build_tc.py
+++ b/v14/build_tc.py
@@ -123,7 +123,9 @@
def BuildTool(self):
env = self._build_env
# FEATURES=buildpkg adds minutes of time so we disable it.
- features = "nostrip userpriv userfetch -sandbox noclean -buildpkg"
+ # TODO(shenhan): keep '-sandbox' for a while for compatibility, then remove
+ # it after a while.
+ features = "nostrip userpriv userfetch -usersandbox -sandbox noclean -buildpkg"
env["FEATURES"] = features
if self._incremental: