Commit c36d2144 authored by Achin Gupta's avatar Achin Gupta
Browse files

Merge pull request #427 from jcastillo-arm/jc/tf-issues/294

Add -mstrict-align to the gcc options
parents 9e87f633 fa1d3712
...@@ -167,7 +167,8 @@ ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \ ...@@ -167,7 +167,8 @@ ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
${DEFINES} ${INCLUDES} ${DEFINES} ${INCLUDES}
CFLAGS += -nostdinc -ffreestanding -Wall \ CFLAGS += -nostdinc -ffreestanding -Wall \
-Werror -Wmissing-include-dirs \ -Werror -Wmissing-include-dirs \
-mgeneral-regs-only -std=c99 -c -Os \ -mgeneral-regs-only -mstrict-align \
-std=c99 -c -Os \
${DEFINES} ${INCLUDES} ${DEFINES} ${INCLUDES}
CFLAGS += -ffunction-sections -fdata-sections CFLAGS += -ffunction-sections -fdata-sections
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment