coreutils: fix cross build.

This commit is contained in:
Juan RP 2015-11-09 14:33:55 +01:00
parent 825cff6bbf
commit 7454e807ac

View file

@ -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