summaryrefslogtreecommitdiffhomepage
path: root/ir/be/machine_triple.c
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@openbsd.org>2017-11-06 01:59:24 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2018-05-18 22:42:26 +0200
commit4372cd18aece79fa301f0fddecaf3b54f13cf668 (patch)
treec68fc4e24e9f0ab696f8eb5f8492b5401c5bbe10 /ir/be/machine_triple.c
parenta6d7eb8749303f63ebf72a699cb4a42a663b49e6 (diff)
Add OpenBSD support.
Diffstat (limited to 'ir/be/machine_triple.c')
-rw-r--r--ir/be/machine_triple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/machine_triple.c b/ir/be/machine_triple.c
index 6922e0f..a50e1ad 100644
--- a/ir/be/machine_triple.c
+++ b/ir/be/machine_triple.c
@@ -143,6 +143,8 @@ ir_machine_triple_t *ir_get_host_machine_triple(void)
"darwin";
#elif defined(__FreeBSD__)
"freebsd";
+#elif defined(__OpenBSD__)
+ "openbsd";
#elif defined(__gnu_linux__)
"linux-gnu";
#elif defined(__linux__)