coreutils: fix cross build.
This commit is contained in:
parent
825cff6bbf
commit
7454e807ac
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue