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
892 B

  1. --- a/configure
  2. +++ b/configure
  3. @@ -60,7 +60,7 @@
  4. valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux',
  5. 'android', 'aix')
  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', 's390', 's390x')
  9. valid_arm_float_abi = ('soft', 'softfp', 'hard')
  10. valid_arm_fpu = ('vfp', 'vfpv3', 'vfpv3-d16', 'neon')
  11. @@ -795,6 +795,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. @@ -877,7 +880,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':