Merge pull request #87690 from Gaelan/kexec-tools-cross
This commit is contained in:
commit
b9a81f7545
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" "pic" "relro" "pie" ];
|
||||
|
||||
# Prevent kexec-tools from using uname to detect target, which is wrong in
|
||||
# cases like compiling for aarch32 on aarch64
|
||||
configurePlatforms = [ "build" "host" ];
|
||||
configureFlags = [ "BUILD_CC=${buildPackages.stdenv.cc.targetPrefix}cc" ];
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
buildInputs = [ zlib ];
|
||||
|
Loading…
Reference in New Issue
Block a user