diff options
| author | Peter Jones <pjones@redhat.com> | 2017-08-08 18:29:19 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2017-08-11 15:18:39 -0400 |
| commit | a7a7c391e1f7fb76de0168c474d80eb0c05acd02 (patch) | |
| tree | 58f24c7067ec69b10c6cf91083d257969ae92952 | |
| parent | 1e717349927e39a15f12044870b92ab898eed1c1 (diff) | |
| download | efi-boot-shim-a7a7c391e1f7fb76de0168c474d80eb0c05acd02.tar.gz efi-boot-shim-a7a7c391e1f7fb76de0168c474d80eb0c05acd02.zip | |
Make ARM targets use -mstrict-align
Otherwise device paths are definitely all kinds of screwed up, but other
stuff might be as well.
Signed-off-by: Peter Jones <pjones@redhat.com>
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,7 +82,7 @@ ifeq ($(ARCH),ia32) ARCH_SUFFIX_UPPER ?= IA32 endif ifeq ($(ARCH),aarch64) - CFLAGS += -DMDE_CPU_AARCH64 -DPAGE_SIZE=4096 + CFLAGS += -DMDE_CPU_AARCH64 -DPAGE_SIZE=4096 -mstrict-align LIBDIR ?= $(prefix)/lib64 ARCH_SUFFIX ?= aa64 ARCH_SUFFIX_UPPER ?= AA64 @@ -91,7 +91,7 @@ ifeq ($(ARCH),aarch64) LDFLAGS += --defsym=EFI_SUBSYSTEM=$(SUBSYSTEM) endif ifeq ($(ARCH),arm) - CFLAGS += -DMDE_CPU_ARM -DPAGE_SIZE=4096 + CFLAGS += -DMDE_CPU_ARM -DPAGE_SIZE=4096 -mstrict-align LIBDIR ?= $(prefix)/lib ARCH_SUFFIX ?= arm ARCH_SUFFIX_UPPER ?= ARM |
