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

Unified Diff: src/trusted/service_runtime/build.scons

Issue 9824001: Change built_elsewhere flag to work with pexe mode (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: comments Created 8 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 | « site_scons/site_tools/naclsdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/build.scons
diff --git a/src/trusted/service_runtime/build.scons b/src/trusted/service_runtime/build.scons
index 5866d6a9a69a0b376d6c868ff0b7598972d2c017..c59eba3c30828d780ca0259fb70f5e26f49a2bec 100644
--- a/src/trusted/service_runtime/build.scons
+++ b/src/trusted/service_runtime/build.scons
@@ -354,7 +354,8 @@ if ((not env.Bit('coverage_enabled') or not env.Bit('windows')) and
env.EnsureRequiredBuildWarnings()
# Bootstrap loader used on Linux.
-if env.Bit('linux') and not env.CrossToolsBuild():
+if (env.Bit('linux') and not env.CrossToolsBuild() and
+ not env.Bit('built_elsewhere')):
bootstrap_env = env.Clone()
bootstrap_env.Replace(CLANG_OPTS='')
bootstrap_env.FilterOut(CCFLAGS=['-fstack-protector', '-fPIC', '-fPIE',
« no previous file with comments | « site_scons/site_tools/naclsdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698