mirror of https://github.com/nodejs/node.git
build: support for mips64el
Built and tested successfully on Loongson 3A2000 with Fedora25(mips64el distribution). PR-URL: https://github.com/nodejs/node/pull/10991 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>pull/11126/head
parent
21b05cd6cd
commit
a334252fc8
|
@ -711,6 +711,9 @@ def host_arch_cc():
|
||||||
if rtn != 's390':
|
if rtn != 's390':
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if rtn == 'mipsel' and '_LP64' in k:
|
||||||
|
rtn = 'mips64el'
|
||||||
|
|
||||||
return rtn
|
return rtn
|
||||||
|
|
||||||
|
|
||||||
|
@ -792,7 +795,7 @@ def configure_node(o):
|
||||||
|
|
||||||
if target_arch == 'arm':
|
if target_arch == 'arm':
|
||||||
configure_arm(o)
|
configure_arm(o)
|
||||||
elif target_arch in ('mips', 'mipsel'):
|
elif target_arch in ('mips', 'mipsel', 'mips64el'):
|
||||||
configure_mips(o)
|
configure_mips(o)
|
||||||
|
|
||||||
if flavor == 'aix':
|
if flavor == 'aix':
|
||||||
|
|
Loading…
Reference in New Issue