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

Unified Diff: site_scons/site_tools/naclsdk.py

Issue 25499003: PNaCl: Allow translator to produce an unsandboxed, native executable (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix -I path Created 7 years, 2 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
« buildbot/buildbot_pnacl.sh ('K') | « pnacl/support/unsandboxed_irt.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site_scons/site_tools/naclsdk.py
diff --git a/site_scons/site_tools/naclsdk.py b/site_scons/site_tools/naclsdk.py
index 622b5f466e9a409bbb6316fa8e2b314265dd2da9..889e20df399d8e5483f0b1b1ac8b7ee6c6a37126 100755
--- a/site_scons/site_tools/naclsdk.py
+++ b/site_scons/site_tools/naclsdk.py
@@ -241,6 +241,8 @@ def _SetEnvForPnacl(env, root):
arch = env['TARGET_FULLARCH']
assert arch in ['arm', 'arm-thumb2', 'mips32', 'x86-32', 'x86-64']
+ if env.Bit('pnacl_unsandboxed'):
+ arch = 'linux-%s' % arch
arch_flag = ' -arch %s' % arch
if env.Bit('pnacl_generate_pexe'):
ld_arch_flag = ''
« buildbot/buildbot_pnacl.sh ('K') | « pnacl/support/unsandboxed_irt.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698