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

Unified Diff: site_scons/site_tools/naclsdk.py

Issue 546883003: MinSFI: Passing arguments to the entry function (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 6 years, 3 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 | « SConstruct ('k') | src/include/minsfi.h » ('j') | src/include/minsfi_priv.h » ('J')
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 b5f7f5848713abac479b171bd15b619fd098f82f..1045c22c543fef8ea7f1f1ac0b6a414a4fb5eca4 100755
--- a/site_scons/site_tools/naclsdk.py
+++ b/site_scons/site_tools/naclsdk.py
@@ -237,7 +237,7 @@ def _SetEnvForPnacl(env, root):
if env.Bit('minsfi'):
pnacl_llc_flags += ' -relocation-model=pic -filetype=obj'
- pnacl_ld_flags += ' -nostdlib -Wl,-r'
+ pnacl_ld_flags += ' -nostdlib -Wl,-r -L' + os.path.join(root, 'usr', 'lib')
if env.Bit('use_sandboxed_translator'):
sb_flags = ' --pnacl-sb'
« no previous file with comments | « SConstruct ('k') | src/include/minsfi.h » ('j') | src/include/minsfi_priv.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698