mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-25 10:40:21 +02:00
coreutils: disable statx() support on glibc.
8.32 switched stat(1) to use statx() if available, for file attributtes to optimize performance on linux. The issue is that statx() was added in glibc-2.28 and requires linux>=4.11. This makes stat(1) always fail on travis. Disable statx detection completely for now, to make glibc also use the same code path than musl.
This commit is contained in:
parent
b0734e2a32
commit
9cd29dcf7e
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'coreutils'
|
||||
pkgname=coreutils
|
||||
version=8.32
|
||||
revision=2
|
||||
revision=3
|
||||
bootstrap=yes
|
||||
makedepends="gmp-devel acl-devel libcap-devel"
|
||||
short_desc="GNU core utilities"
|
||||
|
@ -51,6 +51,9 @@ do_configure() {
|
|||
case "$XBPS_TARGET_MACHINE" in
|
||||
# XXX syncfs() in src/sync.c expects a return value.
|
||||
*-musl) configure_args+=" ac_cv_func_syncfs=no";;
|
||||
# XXX disable statx(), needs glibc>=2.28 and linux>=4.11
|
||||
# XXX seems to fail on travis always returning EACCES.
|
||||
*) configure_args+=" ac_cv_func_statx=no";;
|
||||
esac
|
||||
#
|
||||
# Do not install kill: provided by util-linux.
|
||||
|
|
Loading…
Add table
Reference in a new issue