summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorAndrew Chambers <andrewchamberss@gmail.com>2016-03-01 21:49:52 +1300
committerOri Bernstein <ori@eigenstate.org>2016-05-08 17:20:44 +1200
commit2c4ac1330705a7358cd9946ac5af3308ba1cef23 (patch)
tree88c1250f189d004387a92c1de8c6d24b333630ba /mbld
parent164646bf80884c20db57978c56134fb875c9e337 (diff)
downloadmc-2c4ac1330705a7358cd9946ac5af3308ba1cef23.tar.gz
uname for openbsd
Diffstat (limited to 'mbld')
-rw-r--r--mbld/opts.myr1
-rw-r--r--mbld/syssel.myr1
2 files changed, 2 insertions, 0 deletions
diff --git a/mbld/opts.myr b/mbld/opts.myr
index ccea2fe..651b1eb 100644
--- a/mbld/opts.myr
+++ b/mbld/opts.myr
@@ -50,6 +50,7 @@ const initopts = {
| "Linux": opt_sys = "linux"
| "Darwin": opt_sys = "osx"
| "FreeBSD": opt_sys = "freebsd"
+ | "OpenBSD": opt_sys = "openbsd"
| "Plan9": opt_sys = "plan9"
| unknown: std.fatal("unknown systemy \"{}\"\n", unknown)
;;
diff --git a/mbld/syssel.myr b/mbld/syssel.myr
index 9d7a759..db171e8 100644
--- a/mbld/syssel.myr
+++ b/mbld/syssel.myr
@@ -100,6 +100,7 @@ const addsysattrs = {b, tags
match opt_sys
| "freebsd": tag(b.sysattrs, ["freebsd", "posixy"][:])
+ | "openbsd": tag(b.sysattrs, ["openbsd", "posixy"][:])
| "osx": tag(b.sysattrs, ["osx", "posixy"][:])
| "linux": tag(b.sysattrs, ["linux", "posixy"][:])
| "plan9": tag(b.sysattrs, ["plan9"][:])