mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
Merge pull request #1725 from Yann-lms/clang_aarch32
clang: 32 bit compilation should include march32-directive
This commit is contained in:
commit
e475ba245d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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))
|
||||
|
|
Loading…
Add table
Reference in a new issue