klibc: fix cross-compilation

Tested pkgsCross.armv7l-hf-multiplatform.klibc
This commit is contained in:
Daniel Fullmer
2020-10-20 22:11:08 -07:00
parent 4fb4b69d9b
commit 7c4b1b782a
+2 -1
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" ];