From 8009c2071179ee3490f244b91a49202728efe403 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 22 Feb 2020 12:37:46 -0500 Subject: lib/systems: Assume newlib when no kernel and no libc is provided newlib is the default for most tools when no kernel is provided. Other exist, but this seems like a safe default. --- lib/systems/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 026117cc34f..045a40bd5b4 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -36,9 +36,8 @@ rec { else if final.isUClibc then "uclibc" else if final.isAndroid then "bionic" else if final.isLinux /* default */ then "glibc" - else if final.isMsp430 then "newlib" - else if final.isVc4 then "newlib" else if final.isAvr then "avrlibc" + else if final.isNone then "newlib" else if final.isNetBSD then "nblibc" # TODO(@Ericson2314) think more about other operating systems else "native/impure"; -- cgit 1.4.1