From 7a5a9253e1c0813e8e360232e147881bd65ba2a2 Mon Sep 17 00:00:00 2001 From: nanxiongchao Date: Wed, 25 Jan 2017 16:16:13 +0800 Subject: [PATCH] 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 Reviewed-By: James M Snell --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index cb447d9bd21c..58216645fedd 100755 --- a/configure +++ b/configure @@ -726,6 +726,9 @@ def host_arch_cc(): if rtn != 's390': break + if rtn == 'mipsel' and '_LP64' in k: + rtn = 'mips64el' + return rtn @@ -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':