Merge pull request #60291 from matthewbauer/kexec-tools-get-correct-compiler

kexec-tools: use depsBuildBuild to get the right compiler
This commit is contained in:
Matthew Bauer
2019-04-26 18:16:21 -04:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" "pic" "relro" "pie" ];
configureFlags = [ "BUILD_CC=${buildPackages.stdenv.cc.targetPrefix}cc" ];
nativeBuildInputs = [ buildPackages.stdenv.cc ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ zlib ];
meta = with stdenv.lib; {