build: Fix ARM compilation
ARM system doesn't provide definition of PAGE_SIZE. The patch adds the definition of that symbol to the compiler flags for ARM system Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com> Change-Id: Iae0a528569aedaea7df95d9f0d9256cb23b9798b Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453657 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
09a782dcff
commit
744adf39ee
@ -3,6 +3,7 @@
|
||||
#
|
||||
# Copyright (c) Intel Corporation.
|
||||
# Copyright (c) 2017, IBM Corporation.
|
||||
# Copyright (c) 2019, Mellanox Corporation.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -83,6 +84,7 @@ COMMON_CFLAGS += -march=native
|
||||
endif
|
||||
ifeq ($(TARGET_MACHINE),aarch64)
|
||||
COMMON_CFLAGS += -march=armv8-a+crc
|
||||
COMMON_CFLAGS += -DPAGE_SIZE=4096
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_WERROR), y)
|
||||
|
Loading…
Reference in New Issue
Block a user