aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-17 10:53:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-17 10:53:43 +0200
commit84b88448b3e71855d9a788696276c11c5cc5d005 (patch)
tree82574ccd87f5d472150871c96c39f6be1a268c62 /libbuild2
parent76ccdd97c60561e5b3fb23f5d88049dc074d6559 (diff)
Add OpenBSD libc detection
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/cc/guess.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx
index 16b05a0..9409604 100644
--- a/libbuild2/cc/guess.cxx
+++ b/libbuild2/cc/guess.cxx
@@ -262,6 +262,8 @@ namespace build2
" stdlib:=\"freebsd\" \n"
"# elif defined(__NetBSD__) \n"
" stdlib:=\"netbsd\" \n"
+"# elif defined(__OpenBSD__) \n"
+" stdlib:=\"openbsd\" \n"
"# elif defined(__APPLE__) \n"
" stdlib:=\"apple\" \n"
"# elif defined(__EMSCRIPTEN__) \n"