Skip to content

Commit 92ed2b5

Browse files
nanxiongchaoitaloacasas
authored andcommitted
build: support for mips64el
Built and tested successfully on Loongson 3A2000 with Fedora25(mips64el distribution). PR-URL: #10991 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent cf3700b commit 92ed2b5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure

+4-1
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,9 @@ def host_arch_cc():
711711
if rtn != 's390':
712712
break
713713

714+
if rtn == 'mipsel' and '_LP64' in k:
715+
rtn = 'mips64el'
716+
714717
return rtn
715718

716719

@@ -792,7 +795,7 @@ def configure_node(o):
792795

793796
if target_arch == 'arm':
794797
configure_arm(o)
795-
elif target_arch in ('mips', 'mipsel'):
798+
elif target_arch in ('mips', 'mipsel', 'mips64el'):
796799
configure_mips(o)
797800

798801
if flavor == 'aix':

0 commit comments

Comments
 (0)