forked from mirrors/nixpkgs
kexectools: Add dependency on build CC
Seems to allow cross-compilation.
This commit is contained in:
parent
3413562111
commit
f33a75a658
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, zlib }:
|
{ stdenv, buildPackages, fetchurl, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kexec-tools-${version}";
|
name = "kexec-tools-${version}";
|
||||||
|
@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
hardeningDisable = [ "format" "pic" "relro" ];
|
hardeningDisable = [ "format" "pic" "relro" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ buildPackages.stdenv.cc ];
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue