configure: detect mipsel host
authorJérémy Lal <kapouer@melix.org>
Sun, 20 Sep 2015 21:04:46 +0000 (23:04 +0200)
committerRod Vagg <rod@vagg.org>
Tue, 22 Sep 2015 06:31:39 +0000 (16:31 +1000)
Detect mipsel before mips because mipsel has __mips__ flag as well.

PR-URL: https://github.com/nodejs/node/pull/2971
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
configure

index e0f38c6..0bfaf78 100755 (executable)
--- a/configure
+++ b/configure
@@ -566,6 +566,7 @@ def host_arch_cc():
     '__aarch64__' : 'arm64',
     '__arm__'     : 'arm',
     '__i386__'    : 'ia32',
+    '__MIPSEL__'  : 'mipsel',
     '__mips__'    : 'mips',
     '__PPC64__'   : 'ppc64',
     '__PPC__'     : 'ppc',