aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-04 18:32:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-04 18:32:24 +0200
commit58786895f1d7a0af30cb7cd240c4dcb6133ea84d (patch)
tree512981fece7655277e3a0ae415774072df8eef9a /butl
parent1a578f5c5ad34ff5c6303f11937980b738055ad0 (diff)
Change freebsd target class to bsd
Diffstat (limited to 'butl')
-rw-r--r--butl/triplet2
-rw-r--r--butl/triplet.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/butl/triplet b/butl/triplet
index 013818e..69dc9df 100644
--- a/butl/triplet
+++ b/butl/triplet
@@ -85,7 +85,7 @@ namespace butl
//
// linux *-*-linux-*
// macosx *-apple-darwin*
- // freebsd *-*-freebsd*
+ // bsd *-*-(freebsd|openbsd|netbsd)*
// windows *-*-win32-* | *-*-mingw32
//
// References:
diff --git a/butl/triplet.cxx b/butl/triplet.cxx
index 39057a3..3ce5033 100644
--- a/butl/triplet.cxx
+++ b/butl/triplet.cxx
@@ -125,8 +125,8 @@ namespace butl
class_ = "linux";
else if (vendor == "apple" && system == "darwin")
class_ = "macosx";
- else if (system == "freebsd")
- class_ = "freebsd";
+ else if (system == "freebsd" || system == "openbsd" || system == "netbsd")
+ class_ = "bsd";
else if (system.compare (0, 5, "win32") == 0 || system == "mingw32")
class_ = "windows";
else