aboutsummaryrefslogtreecommitdiffstats
path: root/sys/targets
diff options
context:
space:
mode:
Diffstat (limited to 'sys/targets')
-rw-r--r--sys/targets/targets.go3
1 files changed, 3 insertions, 0 deletions
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
}
}