Give this a chance to build on sgi.

ok jasper@
This commit is contained in:
bentley 2012-12-23 03:25:18 +00:00
parent 889952e07c
commit c3ba93ed4d
2 changed files with 16 additions and 2 deletions

View File

@ -1,7 +1,6 @@
# $OpenBSD: Makefile,v 1.10 2012/12/21 17:46:55 landry Exp $
# $OpenBSD: Makefile,v 1.11 2012/12/23 03:25:18 bentley Exp $
BROKEN-powerpc =CPUCore.cc:2347: error: insn does not satisfy its constraints
BROKEN-mips64= Unsupported or unrecognised CPU "sgi"
BROKEN-hppa = OOM when building src/cpu/CPUCore.cc
COMMENT = MSX home computer emulator

View File

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