parent
c89072465c
commit
b6beb43dd7
@ -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