diff options
author | nanxiongchao <nanxiongchao@loongson.cn> | 2017-01-25 11:16:13 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-02-02 23:13:48 +0300 |
commit | a334252fc8346ae914285b771d26c974d5b564e5 (patch) | |
tree | b3dbd1515c45ee92842ab8a4193e69c7bf91d9bf /configure | |
parent | 21b05cd6cd66afb86145bc0a22e571dd5842112e (diff) |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure index e12a5382a19..9cadfffbd06 100755 --- a/configure +++ b/configure @@ -711,6 +711,9 @@ def host_arch_cc(): if rtn != 's390': break + if rtn == 'mipsel' and '_LP64' in k: + rtn = 'mips64el' + return rtn @@ -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': |