rustc: enable lld
This commit is contained in:
parent
d02da47167
commit
14c7b4890c
@ -23,6 +23,7 @@ rec {
|
|||||||
rustc = (pkgs.rustc.overrideAttrs(oa: {
|
rustc = (pkgs.rustc.overrideAttrs(oa: {
|
||||||
name = "${oa.pname}-${oa.version}-riscv";
|
name = "${oa.pname}-${oa.version}-riscv";
|
||||||
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
|
patches = oa.patches ++ [ ./compilers/rustc-riscv32i.patch ];
|
||||||
|
configureFlags = oa.configureFlags ++ [ "--enable-lld" ];
|
||||||
})).override {
|
})).override {
|
||||||
inherit llvm_7;
|
inherit llvm_7;
|
||||||
pkgsBuildBuild = pkgs.pkgsBuildBuild // { inherit llvm_7; };
|
pkgsBuildBuild = pkgs.pkgsBuildBuild // { inherit llvm_7; };
|
||||||
|
Loading…
Reference in New Issue
Block a user