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

Unified Diff: pydir/targets.py

Issue 1559243002: Suzero. X8664. NaCl Sandboxing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes filetype=asm; addresses comments. Created 4 years, 11 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 | « pydir/szbuild.py ('k') | src/IceAssembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pydir/targets.py
diff --git a/pydir/targets.py b/pydir/targets.py
index 59b76cafb14a4083b4e6e929409a9a7b191d921a..5effd4ecf5299339419d02f987c87df39d4e758c 100644
--- a/pydir/targets.py
+++ b/pydir/targets.py
@@ -44,4 +44,4 @@ ARM32Target = TargetInfo(target='arm32',
cross_headers=['-isystem', FindARMCrossInclude()])
def ConvertTripleToNaCl(nonsfi_triple):
- return nonsfi_triple.replace('linux', 'nacl')
+ return nonsfi_triple[:nonsfi_triple.find('-linux')] + '-nacl'
« no previous file with comments | « pydir/szbuild.py ('k') | src/IceAssembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698