]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/ubifs/Makefile
ARM: prevent misaligned array inits
[karo-tx-uboot.git] / fs / ubifs / Makefile
index ccffe85ee1fc4edde080a8d577780446ae31865c..bfe687406fd1785b2722ef4c2702740a9417a8ce 100644 (file)
@@ -42,6 +42,9 @@ all:  $(LIB) $(AOBJS)
 $(LIB):        $(obj).depend $(OBJS)
        $(call cmd_link_o_target, $(OBJS))
 
+# SEE README.arm-unaligned-accesses
+$(obj)super.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
+
 #########################################################################
 
 # defines $(obj).depend target