diff options
author | Joachim F <joachifm@users.noreply.github.com> | 2017-05-07 12:31:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-07 12:31:32 +0100 |
commit | 5250d3ec3de69ebeb7296fcca3d496749b3feb17 (patch) | |
tree | 3cbec6e9ad7f112ecd8877b48cbf612cf003f95a /pkgs | |
parent | 021978300c8c6d2bdf1156a8671bbc9cb7db7268 (diff) | |
parent | a04d8532c2385ab3e217d06bd3592d0386b6caa3 (diff) | |
download | nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.tar nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.tar.gz nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.tar.bz2 nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.tar.lz nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.tar.xz nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.tar.zst nixlib-5250d3ec3de69ebeb7296fcca3d496749b3feb17.zip |
Merge pull request #25561 from joachifm/linux-gcc-plugins
linux: support using gcc plugins
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/kernel/manual-config.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 55162e54f4dc..3466cafa2660 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -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 readConfig = configfile: import (runCommand "config.nix" {} '' @@ -219,7 +221,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe 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); hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ]; |