From 78ac6aee6dff1b608bc312fe7ada442ba83710e8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 18 Jun 2020 14:51:38 +0200 Subject: Complete NetBSD compatibility --- libbuild2/bin/guess.cxx | 5 +++++ libbuild2/bin/init.cxx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libbuild2/bin') diff --git a/libbuild2/bin/guess.cxx b/libbuild2/bin/guess.cxx index e103c43..21936d9 100644 --- a/libbuild2/bin/guess.cxx +++ b/libbuild2/bin/guess.cxx @@ -123,6 +123,11 @@ namespace build2 // version (maybe we could run llvm-ar instead -- it seems to be always // around). // + // On NetBSD we get: + // + // GNU ar (NetBSD Binutils nb1) 2.31.1 + // GNU ranlib (NetBSD Binutils nb1) 2.31.1 + // { auto f = [&ar] (string& l, bool) -> guess_result { diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx index de8b12a..0d2d9b5 100644 --- a/libbuild2/bin/init.cxx +++ b/libbuild2/bin/init.cxx @@ -327,7 +327,7 @@ namespace build2 target_triplet t (s); l5 ([&]{trace << "canonical target: '" << t.string () << "'; " - << "class: " << t.class_ << " source: " << s;}); + << "class: " << t.class_;}); assert (!hint || s == t.string ()); -- cgit v1.1