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

Unified Diff: SConstruct

Issue 11691004: [MIPS] Do not use pnacl-irt-link for MIPS target. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Retry uploading. Created 7 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: SConstruct
diff --git a/SConstruct b/SConstruct
index f1ecbbed7d75053581579d28e07447e30b1564eb..f647d3d25cb0f75074f17f0ce0e14d1107c4c539 100755
--- a/SConstruct
+++ b/SConstruct
@@ -3122,9 +3122,9 @@ if nacl_irt_env.Bit('bitcode'):
# call to __nacl_read_tp, which the IRT code overrides to segregate
# IRT-private TLS from user TLS.
if nacl_irt_env.Bit('bitcode'):
- nacl_irt_env.Append(LINKFLAGS=['--pnacl-allow-native',
- '-Wt,-mtls-use-call',
- '-Wl,--pnacl-irt-link'])
+ nacl_irt_env.Append(LINKFLAGS=['--pnacl-allow-native', '-Wt,-mtls-use-call'])
+ if nacl_irt_env.Bit('target_arm'):
+ nacl_irt_env.Append(LINKFLAGS=['-Wl,--pnacl-irt-link'])
elif nacl_irt_env.Bit('target_arm'):
nacl_irt_env.Append(CCFLAGS=['-mtp=soft'])
else:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698