Skip to content

Commit

Permalink
build: i18n: support little-endian machines
Browse files Browse the repository at this point in the history
Note that this may not affect anything until powerpc support lands in
v8.

Related: https://github.com/srl295/node/issues/7
Related: srl295@ba8ab91
PR-URL: nodejs/node-v0.x-archive#8712
Reviewed-by: Trevor Norris <[email protected]>
  • Loading branch information
srl295 authored and trevnorris committed Nov 13, 2014
1 parent ea4dc7d commit 855b1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/icu/icutrim.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ def runcmd(tool, cmd, doContinue=False):
print "%s: %s" % (options.filterfile, config["comment"])

## STEP 1 - copy the data file, swapping endianness
endian_letter = "l"

## The first letter of endian_letter will be 'b' or 'l' for big or little
endian_letter = options.endian[0]

runcmd("icupkg", "-t%s %s %s""" % (endian_letter, options.datfile, outfile))

Expand Down

0 comments on commit 855b1c9

Please sign in to comment.