patch-build_detectsys_py 545 B

12345678910111213141516
  1. $OpenBSD: patch-build_detectsys_py,v 1.4 2012/12/23 03:25:18 bentley Exp $
  2. Give this a chance to build on sgi.
  3. Committed upstream in r13070.
  4. --- build/detectsys.py.orig Sat Dec 22 20:18:26 2012
  5. +++ build/detectsys.py Sat Dec 22 20:18:41 2012
  6. @@ -25,7 +25,7 @@ def detectCPU():
  7. return 'ppc64' if cpu.endswith('64') else 'ppc'
  8. elif cpu.startswith('arm'):
  9. return 'arm'
  10. - elif cpu.startswith('mips'):
  11. + elif cpu.startswith('mips') or cpu == 'sgi':
  12. return 'mipsel' if cpu.endswith('el') else 'mips'
  13. elif cpu == 'm68k':
  14. return 'm68k'