Skip to content

Commit

Permalink
build: support for mips64el
Browse files Browse the repository at this point in the history
Built and tested successfully on Loongson 3A2000
with Fedora25(mips64el distribution).

PR-URL: nodejs/node#10991
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
nanxiongchao authored and andrew749 committed Jul 19, 2017
1 parent 621aaaf commit 7a5a925
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,9 @@ def host_arch_cc():
if rtn != 's390':
break

if rtn == 'mipsel' and '_LP64' in k:
rtn = 'mips64el'

return rtn


Expand Down Expand Up @@ -805,7 +808,7 @@ def configure_node(o):

if target_arch == 'arm':
configure_arm(o)
elif target_arch in ('mips', 'mipsel'):
elif target_arch in ('mips', 'mipsel', 'mips64el'):
configure_mips(o)

if flavor == 'aix':
Expand Down

0 comments on commit 7a5a925

Please sign in to comment.