summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchin Gupta <achin.gupta@arm.com>2015-11-11 21:48:03 +0000
committerAchin Gupta <achin.gupta@arm.com>2015-11-11 21:48:03 +0000
commitc36d214449586db97cb6688fa28b9238e178bd17 (patch)
tree04655818a5e5597a7a243541c678e49db9e815e2
parent9e87f63315f901b002f7aebbcac9d3a14905da78 (diff)
parentfa1d37122c13a495033156f6fbbecef7d6ee6a36 (diff)
Merge pull request #427 from jcastillo-arm/jc/tf-issues/294
Add -mstrict-align to the gcc options
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6c062b25..69bd0190 100644
--- a/Makefile
+++ b/Makefile
@@ -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