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

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: Created 8 years 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..6fb9470d3b9d7f3d7b1446fd77894e87ec90cbf1 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'])
jvoung (off chromium) 2012/12/28 17:21:15 The reason we have --pnacl-irt-link, is that the I
Mark Seaborn 2012/12/28 18:06:39 Fix indentation here, then LGTM. petarj wrote:
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