diff --git a/srcpkgs/chroot-gcc/template b/srcpkgs/chroot-gcc/template index 3a1a9911cca..4cda104670c 100644 --- a/srcpkgs/chroot-gcc/template +++ b/srcpkgs/chroot-gcc/template @@ -27,8 +27,9 @@ checksum=" create_wrksrc=yes bootstrap=yes -makedepends="chroot-binutils>=2.22.52.0.4" - +if [ -z "$CROSS_BUILD" ]; then + makedepends="chroot-binutils>=2.22.52.0.4" +fi if [ -n "$IN_CHROOT" ]; then makedepends+=" perl flex" fi