mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
erofs-utils: only set page size for known cross targets
This commit is contained in:
parent
30a8982e18
commit
bee8214b13
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
|
||||||
checksum=b6eb529bb423eb2dd779c9da9c2632855488b4b91e23553a31ce23f11c9cce2c
|
checksum=b6eb529bb423eb2dd779c9da9c2632855488b4b91e23553a31ce23f11c9cce2c
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
configure_args+=" MAX_BLOCK_SIZE=4096"
|
case "${XBPS_TARGET_MACHINE}" in
|
||||||
|
armv6l*|armv7l*|aarch64*) configure_args+=" MAX_BLOCK_SIZE=4096" ;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue