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#10991
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
nanxiongchao authored and italoacasas committed Feb 14, 2017
1 parent cf3700b commit 92ed2b5
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 @@ -711,6 +711,9 @@ def host_arch_cc():
if rtn != 's390':
break

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

return rtn


Expand Down Expand Up @@ -792,7 +795,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 92ed2b5

Please sign in to comment.