mdadm: Fix cross-compilation

This commit is contained in:
Ben Gamari
2018-01-09 11:25:19 -05:00
committed by John Ericson
parent ac19f60c93
commit 7ed923f9d8
+1 -1
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
# This is to avoid self-references, which causes the initrd to explode
# in size and in turn prevents mdraid systems from booting.
allowedReferences = [ stdenv.glibc.out ];
allowedReferences = [ stdenv.cc.libc.out ];
patches = [ ./no-self-references.patch ];