Merge pull request #25561 from joachifm/linux-gcc-plugins
linux: support using gcc plugins
This commit is contained in:
commit
5250d3ec3d
@ -1,4 +1,6 @@
|
|||||||
{ stdenv, runCommand, nettools, bc, perl, kmod, openssl, writeTextFile, ubootChooser }:
|
{ stdenv, runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
|
||||||
|
, writeTextFile, ubootChooser
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
readConfig = configfile: import (runCommand "config.nix" {} ''
|
readConfig = configfile: import (runCommand "config.nix" {} ''
|
||||||
@ -219,7 +221,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ perl bc nettools openssl ] ++ optional (stdenv.platform.uboot != null)
|
nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ] ++ optional (stdenv.platform.uboot != null)
|
||||||
(ubootChooser stdenv.platform.uboot);
|
(ubootChooser stdenv.platform.uboot);
|
||||||
|
|
||||||
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
|
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user