Search
SailfishOS Open Build Service
>
Projects
>
home:notmart
:
Mer_Extras
:
Adaptation:Archos-gen9
:
pvr
>
kernel-adaptation-archos-gen9-pvr
> mer-toolchain-mno-unaligned-access.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mer-toolchain-mno-unaligned-access.patch of Package kernel-adaptation-archos-gen9-pvr
diff --git a/Makefile b/Makefile index 5b07635..730f406 100644 --- a/Makefile +++ b/Makefile @@ -585,6 +585,12 @@ KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) # conserve stack if available KBUILD_CFLAGS += $(call cc-option,-fconserve-stack) +# You will need to apply this patch to your kernel with this new Mer and +# toolchain release, if your kernels break on boot (they likely will). It +# will enable -mno-unaligned-access in your kernel compilation flags. + +KBUILD_CFLAGS += -mno-unaligned-access + # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments # But warn user when we do so warn-assign = \