diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-02-22 12:37:46 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-02-22 12:37:46 -0500 |
commit | 8009c2071179ee3490f244b91a49202728efe403 (patch) | |
tree | a583ab1713d5495f7232778d86d6bb22ecd138c9 /lib | |
parent | 85a9743f135b3687281efc5881baaab8ca2a8e09 (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 026117cc34fd..045a40bd5b4b 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"; |