klibc: fix cross-compilation

Tested pkgsCross.armv7l-hf-multiplatform.klibc
This commit is contained in:
Daniel Fullmer 2020-10-20 22:07:51 -07:00
parent 4fb4b69d9b
commit 7c4b1b782a
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, linuxHeaders, perl }:
{ lib, stdenv, fetchurl, buildPackages, linuxHeaders, perl }:
let
commonMakeFlags = [
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
patches = [ ./no-reinstall-kernel-headers.patch ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ perl ];
hardeningDisable = [ "format" "stackprotector" ];