aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-01 10:17:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-01 10:17:08 +0200
commit2944f088ae06e6f4495c8ac74714b1c57402f9e0 (patch)
treeab7ccfc963dfe42f2192e16943c3dcf97e9f3b99 /butl
parent4f1dd8760ad4442d24cc7e67092a9ac50a36ccd0 (diff)
Rename target triplet "macosx" class to "macos"
Diffstat (limited to 'butl')
-rw-r--r--butl/target-triplet2
-rw-r--r--butl/target-triplet.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/butl/target-triplet b/butl/target-triplet
index d355d75..fe5e728 100644
--- a/butl/target-triplet
+++ b/butl/target-triplet
@@ -85,7 +85,7 @@ namespace butl
// are recognized:
//
// linux *-*-linux-*
- // macosx *-apple-darwin*
+ // macos *-apple-darwin*
// bsd *-*-(freebsd|openbsd|netbsd)*
// windows *-*-win32-* | *-*-mingw32
//
diff --git a/butl/target-triplet.cxx b/butl/target-triplet.cxx
index f7da724..7ebe9ec 100644
--- a/butl/target-triplet.cxx
+++ b/butl/target-triplet.cxx
@@ -109,7 +109,7 @@ namespace butl
if (system.compare (0, 5, "linux") == 0)
class_ = "linux";
else if (vendor == "apple" && system == "darwin")
- class_ = "macosx";
+ class_ = "macos";
else if (system == "freebsd" || system == "openbsd" || system == "netbsd")
class_ = "bsd";
else if (system.compare (0, 5, "win32") == 0 || system == "mingw32")