From 5beb31dc6e1ca12b35bfa468fb5e93e21854c4a8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Apr 2013 18:33:11 +0200 Subject: [PATCH] chroot-gcc: fix cross build. --- srcpkgs/chroot-gcc/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/chroot-gcc/template b/srcpkgs/chroot-gcc/template index 3a1a9911cc..4cda104670 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