diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-12-22 12:39:55 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-05 11:25:13 +0900 |
commit | f2e1d57e43a0688901cc5f83546c66079fce5451 (patch) | |
tree | 1744d9549b41fef3793a24993481d1d23f5ffb1d /Makefile | |
parent | cef7b3ce8b26cd94e7e71ddeefc039451525b780 (diff) |
Build: exclude -c flag from TF_CFLAGS
The -c flag should not be included in the global variable TF_CFLAGS;
it should be specified in the build rule only when its target is a
*.o file.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -149,7 +149,7 @@ ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \ ${DEFINES} ${INCLUDES} TF_CFLAGS += -nostdinc -ffreestanding -Wall \ -Werror -Wmissing-include-dirs \ - -std=c99 -c -Os \ + -std=c99 -Os \ $(TF_CFLAGS_$(ARCH)) \ ${DEFINES} ${INCLUDES} TF_CFLAGS += -ffunction-sections -fdata-sections |