chroot-git: cross build support.
This commit is contained in:
parent
c8526bb729
commit
cdb84765df
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,13 @@ if [ -n "$CHROOT_READY" ]; then
|
|||
makedepends="perl"
|
||||
fi
|
||||
|
||||
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||
crossmakedepends="zlib-devel"
|
||||
configure_args="${configure_args}
|
||||
ac_cv_fread_reads_directories=no
|
||||
ac_cv_snprintf_returns_bogus=no"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
# remove unneeded stuff.
|
||||
rm -rf ${DESTDIR}/usr/share/gitweb
|
||||
|
|
Loading…
Reference in a new issue