summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntonio Niño Díaz <antonio.ninodiaz@arm.com>2018-12-19 13:43:17 +0100
committerGitHub <noreply@github.com>2018-12-19 13:43:17 +0100
commite475ba245d46e6498d40d034f9a4399f1cadf6a9 (patch)
treee02cc6bef7c9d6a1a79bd1788826f1e2c0a57372 /Makefile
parent72b3226fa2ae8c8fea1ec4cd86687f35c4df93ef (diff)
parente2bfec0b8ddd08050fcc32b7e7f0a75b93aced5b (diff)
Merge pull request #1725 from Yann-lms/clang_aarch32
clang: 32 bit compilation should include march32-directive
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c61f8da..1b48fe1e 100644
--- a/Makefile
+++ b/Makefile
@@ -162,7 +162,7 @@ AS = $(CC) -c -x assembler-with-cpp $(TF_CFLAGS_$(ARCH))
CPP = $(CC) -E $(TF_CFLAGS_$(ARCH))
PP = $(CC) -E $(TF_CFLAGS_$(ARCH))
else ifneq ($(findstring clang,$(notdir $(CC))),)
-TF_CFLAGS_aarch32 = $(target32-directive)
+TF_CFLAGS_aarch32 = $(target32-directive) $(march32-directive)
TF_CFLAGS_aarch64 = -target aarch64-elf
LD = $(LINKER)
AS = $(CC) -c -x assembler-with-cpp $(TF_CFLAGS_$(ARCH))