build: enable large file support on 32-bit
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 28 May 2019 11:07:45 +0000 (12:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jun 2019 21:53:40 +0000 (23:53 +0200)
commit40af5458a7a89c16ae0dd8cc64c1f148e5b40761
tree09be5cb4f5cb2775005f61dae1b5a56a109a5209
parent8741a907453681b3c7f3ad8e2fb6de08b9fdf574
build: enable large file support on 32-bit

By default on 32-bit systems, file offsets are given as 32-bit values
which prevents support for large files. While this is unlikely to be
a problem, enabling large file support globally makes "make" and
"meson" builds consistent, since meson always enables large file
support, and without this change, the size of "struct stat" fields
will be different between the two builds.

The only location where this appears to be significant is in the
dpaax common code, where a printf needs to be updated for 32-bit
builds.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/common/dpaax/dpaax_iova_table.c
mk/arch/arm/rte.vars.mk
mk/arch/i686/rte.vars.mk