You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
904 B

  1. --- a/configure.py
  2. +++ b/configure.py
  3. @@ -48,7 +48,7 @@
  4. valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
  5. 'android', 'aix', 'cloudabi')
  6. -valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64el', 'ppc',
  7. +valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'mips64', 'mips64el', 'ppc',
  8. 'ppc64', 'x32','x64', 'x86', 'x86_64', 's390x')
  9. valid_arm_float_abi = ('soft', 'softfp', 'hard')
  10. valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
  11. @@ -896,6 +896,9 @@
  12. if rtn == 'mipsel' and '_LP64' in k:
  13. rtn = 'mips64el'
  14. + if rtn == 'mips' and '_LP64' in k:
  15. + rtn = 'mips64'
  16. +
  17. return rtn
  18. @@ -1001,7 +1004,7 @@
  19. if target_arch == 'arm':
  20. configure_arm(o)
  21. - elif target_arch in ('mips', 'mipsel', 'mips64el'):
  22. + elif target_arch in ('mips', 'mipsel', 'mips64', 'mips64el'):
  23. configure_mips(o)
  24. if flavor == 'aix':