Skip to content

Commit

Permalink
lib/systems: Assume newlib when no kernel and no libc is provided
Browse files Browse the repository at this point in the history
newlib is the default for most tools when no kernel is provided. Other
exist, but this seems like a safe default.
  • Loading branch information
matthewbauer committed Feb 22, 2020
1 parent 85a9743 commit 8009c20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/systems/default.nix
Expand Up @@ -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";
Expand Down

0 comments on commit 8009c20

Please sign in to comment.