Merge branches 'cache-l2x0', 'fixes', 'hdrs', 'misc', 'mmci', 'vic' and 'warnings...
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / arch / arm / Makefile
index 5f914fca911b77b747dd43569b84a76883abcef7..03363e202a5b7964ffbbefe13c0b2db23a47cb56 100644 (file)
@@ -32,6 +32,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)