mirror of
https://github.com/decompme/decomp.me.git
synced 2026-01-08 06:10:19 -06:00
Pass 'mipsel' as arch to m2c for le mips arches (#1395)
This commit is contained in:
@@ -18,7 +18,9 @@ class M2CError(Exception):
|
||||
class M2CWrapper:
|
||||
@staticmethod
|
||||
def get_triple(compiler: Compiler, arch: str) -> str:
|
||||
if "mips" in arch:
|
||||
if "mipse" in arch:
|
||||
t_arch = "mipsel"
|
||||
elif "mips" in arch:
|
||||
t_arch = "mips"
|
||||
elif "ppc" in arch:
|
||||
t_arch = "ppc"
|
||||
|
||||
Reference in New Issue
Block a user