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: #10991
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
nanxiongchao authored and MylesBorins committed May 18, 2017
1 parent 637d9e3 commit 0c318a6
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 @@ -726,6 +726,9 @@ def host_arch_cc():
if rtn != 's390':
break

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

return rtn


Expand Down Expand Up @@ -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':
Expand Down

0 comments on commit 0c318a6

Please sign in to comment.