klibc: fix cross-compilation
Tested pkgsCross.armv7l-hf-multiplatform.klibc
This commit is contained in:
parent
4fb4b69d9b
commit
7c4b1b782a
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, linuxHeaders, perl }:
|
{ lib, stdenv, fetchurl, buildPackages, linuxHeaders, perl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
commonMakeFlags = [
|
commonMakeFlags = [
|
||||||
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./no-reinstall-kernel-headers.patch ];
|
patches = [ ./no-reinstall-kernel-headers.patch ];
|
||||||
|
|
||||||
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" "stackprotector" ];
|
hardeningDisable = [ "format" "stackprotector" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user