Add support for js-unknown-ghcjs

This adds enough logic to nixpkgs to support the `js-unknown-ghcjs` triple.
This commit is contained in:
Moritz Angermann
2019-09-02 01:27:05 -04:00
committed by John Ericson
parent 280795c163
commit 446f8c851d
5 changed files with 20 additions and 4 deletions
+9 -3
View File
@@ -119,7 +119,7 @@ rec {
config = "aarch64-none-elf";
libc = "newlib";
};
aarch64be-embedded = {
config = "aarch64_be-none-elf";
libc = "newlib";
@@ -129,12 +129,12 @@ rec {
config = "powerpc-none-eabi";
libc = "newlib";
};
ppcle-embedded = {
config = "powerpcle-none-eabi";
libc = "newlib";
};
alpha-embedded = {
config = "alpha-elf";
libc = "newlib";
@@ -212,4 +212,10 @@ rec {
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
platform = {};
};
# Ghcjs
ghcjs = {
config = "js-unknown-ghcjs";
platform = {};
};
}