Skip to content

Commit 0c318a6

Browse files
nanxiongchaoMylesBorins
authored andcommitted
build: support for mips64el
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>
1 parent 637d9e3 commit 0c318a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: configure

+4-1
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,9 @@ def host_arch_cc():
726726
if rtn != 's390':
727727
break
728728

729+
if rtn == 'mipsel' and '_LP64' in k:
730+
rtn = 'mips64el'
731+
729732
return rtn
730733

731734

@@ -805,7 +808,7 @@ def configure_node(o):
805808

806809
if target_arch == 'arm':
807810
configure_arm(o)
808-
elif target_arch in ('mips', 'mipsel'):
811+
elif target_arch in ('mips', 'mipsel', 'mips64el'):
809812
configure_mips(o)
810813

811814
if flavor == 'aix':

0 commit comments

Comments
 (0)