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.
|
# the manpages via help2man.
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
CC=cc LD=ld AR=ar RANLIB=ranlib CFLAGS=-Os CXXFLAGS=-Os LDFLAGS= \
|
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 ${makejobs}
|
||||||
make install
|
make install
|
||||||
make distclean
|
make distclean
|
||||||
|
|
Loading…
Add table
Reference in a new issue