| 1 | --- work/linux-2.6.31.14.27-efikamx_20111026/arch/arm/Makefile 2011-10-26 09:34:26.000000000 +0000 |
| 2 | +++ work/linux-2.6.31.14.27-efikamx_20111026/arch/arm/Makefile_arm_unaligned 2012-10-11 00:49:16.654988563 +0000 |
| 3 | @@ -94,6 +94,10 @@ |
| 4 | CFLAGS_ABI +=-funwind-tables |
| 5 | endif |
| 6 | |
| 7 | +ifeq ($(CONFIG_ALIGNMENT_TRAP),y) |
| 8 | +CFLAGS_ABI +=$(call cc-option,-mno-unaligned-access,) |
| 9 | +endif |
| 10 | + |
| 11 | # Need -Uarm for gcc < 3.x |
| 12 | KBUILD_CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm |
| 13 | KBUILD_AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float |