From 9bc1b5fd8bd8291a75216345cd0fb4fe15c98522 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Fri, 29 Mar 2024 17:05:42 -0700 Subject: sys/targets: avoid building TestOS on OpenBSD It's missing syscall function yet TestOS requires it. --- sys/targets/targets.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/targets') diff --git a/sys/targets/targets.go b/sys/targets/targets.go index 840c1febf..9a5c82948 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -693,6 +693,9 @@ func init() { target.CFlags[i] = strings.Replace(target.CFlags[i], "-m32", "-m31", -1) } } + if runtime.GOOS == OpenBSD { + target.BrokenCompiler = "can't build TestOS on OpenBSD due to missing syscall function." + } target.BuildOS = goos } } -- cgit mrf-deployment