mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
fix(build): fix arch32 build issue for clang
Fixed the qemu 32 bit clang build fail caused because of no march32 directives in TF_CFLAGS_aarch32 variable march32_directive is initialized later in Makefile and since clang build uses Immediate set instead of Lazy set , TF_CFLAGS_aarch32 doesn't have mcpu variable. Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com> Change-Id: I09094a0912ee2d9d0e11f65135a352de8a135936
This commit is contained in:
parent
61fe7826d8
commit
94eb127719
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -274,7 +274,7 @@ ifneq ($(findstring clang,$(notdir $(CC))),)
|
|||
TF_CFLAGS_aarch64 := -target aarch64-arm-none-eabi $(march64-directive)
|
||||
LD := $(LINKER)
|
||||
else
|
||||
TF_CFLAGS_aarch32 := $(target32-directive) $(march32-directive)
|
||||
TF_CFLAGS_aarch32 = $(target32-directive) $(march32-directive)
|
||||
TF_CFLAGS_aarch64 := -target aarch64-elf $(march64-directive)
|
||||
LD := $(shell $(CC) --print-prog-name ld.lld)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue