Make.defaults: Force 4K page size on ARM64

Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
Callum Farmer 2023-02-07 16:25:58 +00:00
parent 1e00550694
commit 04e6df709d

View File

@ -155,6 +155,11 @@ ifeq ($(ARCH),arm)
CFLAGS += -marm
endif
ifeq ($(ARCH),aarch64)
LDFLAGS += -z common-page-size=4096
LDFLAGS += -z max-page-size=4096
endif
# Generic compilation flags
INCDIR += -I$(SRCDIR) -I$(TOPDIR)/inc -I$(TOPDIR)/inc/$(ARCH) \
-I$(TOPDIR)/inc/protocol