numam-dpdk/mk/arch/arm/rte.vars.mk
Bruce Richardson 40af5458a7 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>
2019-06-03 23:53:40 +02:00

17 lines
376 B
Makefile

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (C) 2015 RehiveTech. All rights reserved.
ARCH ?= arm
CROSS ?=
CPU_CFLAGS ?= -marm -munaligned-access -D_FILE_OFFSET_BITS=64
CPU_LDFLAGS ?=
CPU_ASFLAGS ?= -felf
export ARCH CROSS CPU_CFLAGS CPU_LDFLAGS CPU_ASFLAGS
RTE_OBJCOPY_TARGET = elf32-littlearm
RTE_OBJCOPY_ARCH = arm
export RTE_OBJCOPY_TARGET RTE_OBJCOPY_ARCH