diff options
author | Achin Gupta <achin.gupta@arm.com> | 2015-11-11 21:48:03 +0000 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2015-11-11 21:48:03 +0000 |
commit | c36d214449586db97cb6688fa28b9238e178bd17 (patch) | |
tree | 04655818a5e5597a7a243541c678e49db9e815e2 | |
parent | 9e87f63315f901b002f7aebbcac9d3a14905da78 (diff) | |
parent | fa1d37122c13a495033156f6fbbecef7d6ee6a36 (diff) |
Merge pull request #427 from jcastillo-arm/jc/tf-issues/294
Add -mstrict-align to the gcc options
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -167,7 +167,8 @@ ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \ ${DEFINES} ${INCLUDES} CFLAGS += -nostdinc -ffreestanding -Wall \ -Werror -Wmissing-include-dirs \ - -mgeneral-regs-only -std=c99 -c -Os \ + -mgeneral-regs-only -mstrict-align \ + -std=c99 -c -Os \ ${DEFINES} ${INCLUDES} CFLAGS += -ffunction-sections -fdata-sections |