coreutils: fix cross
This commit is contained in:
parent
7693e0e170
commit
4562336445
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue