mirror of https://github.com/nodejs/node.git
build: i18n: support little-endian machines
Note that this may not affect anything until powerpc support lands in
v8.
Related: https://github.com/srl295/node/issues/7
Related: ba8ab91bc4
PR-URL: https://github.com/joyent/node/pull/8712
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
pull/1/head
parent
ea4dc7d444
commit
855b1c98ca
|
@ -154,8 +154,8 @@ if(config.has_key("comment")):
|
|||
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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue