diff --git a/arch/arm/Makefile b/arch/arm/Makefile index f023e3acdfbd8c7c17335cfa9518df05119f4ab7..cbe364210c7d62cc19e94caffc186f8bafea0ef8 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -34,6 +34,7 @@ KBUILD_DEFCONFIG := versatile_defconfig # defines filename extension depending memory management type. ifeq ($(CONFIG_MMU),) MMUEXT := -nommu +KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access) endif ifeq ($(CONFIG_FRAME_POINTER),y)