diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index 3a625f7621..0c9616d4b5 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -12,8 +12,6 @@ license="GPL-3" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=155e94d748f8e2bc327c66e0cbebdb8d6ab265d2f37c3c928f7bf6c3beba9a8e -nocross="https://build.voidlinux.eu/builders/armv6l_builder/builds/29504/steps/shell_3/logs/stdio" - if [ "$CHROOT_READY" ]; then hostmakedepends="perl" fi @@ -55,6 +53,10 @@ do_configure() { --enable-install-program=arch,hostname \ --enable-no-install-program=kill,uptime \ --disable-rpath + if [ "$CROSS_BUILD" ]; then + # Use install when cross compiling + sed -i Makefile -e 's;^\(cu_install_program =\).*;\1 install;' + fi } do_build() { if [ "$CROSS_BUILD" ]; then