Merge pull request #141048 from lopsided98/kernel-zlib-cleanup
linux: cleanup zlib conditional dependency
This commit is contained in:
commit
f888c2ca82
@ -315,9 +315,8 @@ stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.linux-kernel kernelPat
|
|||||||
++ optional (lib.versionAtLeast version "4.14" && lib.versionOlder version "5.8") libelf
|
++ optional (lib.versionAtLeast version "4.14" && lib.versionOlder version "5.8") libelf
|
||||||
# Removed util-linuxMinimal since it should not be a dependency.
|
# Removed util-linuxMinimal since it should not be a dependency.
|
||||||
++ optionals (lib.versionAtLeast version "4.16") [ bison flex ]
|
++ optionals (lib.versionAtLeast version "4.16") [ bison flex ]
|
||||||
++ optionals (lib.versionAtLeast version "5.2") [ cpio pahole ]
|
++ optionals (lib.versionAtLeast version "5.2") [ cpio pahole zlib ]
|
||||||
++ optional (lib.versionAtLeast version "5.8") elfutils
|
++ optional (lib.versionAtLeast version "5.8") elfutils
|
||||||
++ optional (lib.versionAtLeast version "5.2") zlib
|
|
||||||
;
|
;
|
||||||
|
|
||||||
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" "pie" ];
|
hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" "pie" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user