Skip to content

Commit

Permalink
Revert "Revert "Makefile: add -mno-unaligned-access to fix boot on cr…
Browse files Browse the repository at this point in the history
…espo""

* This reverts commit bef69c5.
* that revert made kernel unbootable again when
  toolchain-layer/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106827.patch
  was used and because toolchain-layer is enabled in SHR makefile then
  we should assume that gcc-4.6-linaro-r106827.patch and
  -munaligned-access is enabled by default for armv7a
  • Loading branch information
shr-project committed Apr 3, 2012
1 parent bef69c5 commit 3fbd734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
-fno-delete-null-pointer-checks
-fno-delete-null-pointer-checks \
-mno-unaligned-access
KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS := -D__ASSEMBLY__
Expand Down

0 comments on commit 3fbd734

Please sign in to comment.