From 7454e807ac4a5cbd3cc6871b64d148688904df7a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 9 Nov 2015 14:33:55 +0100 Subject: [PATCH] coreutils: fix cross build. --- srcpkgs/coreutils/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index 5c5d3cd4f4..60a15d0add 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -27,7 +27,9 @@ pre_configure() { # the manpages via help2man. if [ "$CROSS_BUILD" ]; then CC=cc LD=ld AR=ar RANLIB=ranlib CFLAGS=-Os CXXFLAGS=-Os LDFLAGS= \ - ./configure --prefix=${wrksrc}/coreutils-${XBPS_MACHINE} + ./configure --prefix=${wrksrc}/coreutils-${XBPS_MACHINE} \ + --enable-install-program=arch,hostname \ + --enable-no-install-program=kill,uptime make ${makejobs} make install make distclean