diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-02-22 12:37:46 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-03-12 02:22:19 -0400 |
commit | acb24b4cc4432687e063ae2b5a08f449934e5fbf (patch) | |
tree | 8f95665efe1e4f354ad07c56e4a032a7b907268c /lib | |
parent | c1a16501c40894bc82b35443f248db9b82eac873 (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.
(cherry picked from commit 8009c2071179ee3490f244b91a49202728efe403)
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 36afdae38668..4ca932d17921 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"; |