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
commit fa0208c09a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {