The upstream uses pkg-config to detect and enable libnfs usage if it is found [1]. This can get confused by the host configuration so at the least we should disable detection if we are not planning to build with it. Note: the fio configure script accept both --enable-libnfs and --disable-libnfs since upstream commit [2], first included in fio v3.31. In Buildroot, this is supported since [3]. [1] https://github.com/axboe/fio/blob/fio-3.38/configure#L2360 [2] https://github.com/axboe/fio/commit/98ab12629c6a98fb53e28a4a70f53ce594cca858 [3] https://gitlab.com/buildroot.org/buildroot/-/commit/256395d8e5e7258df830dc19b47dc9ef19e48535 Signed-off-by: Alex Bennée <alex.bennee@linaro.org> [Julien: add extra info in commit log] Signed-off-by: Julien Olivain <ju.o@free.fr>