mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
Merge pull request #1718 from vwadekar/cc-variable-findstring
build: find "armclang" string in the 'CC' variable
This commit is contained in:
commit
08fd68a27d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -154,7 +154,7 @@ target32-directive = -target armv8a-none-eabi
|
|||
march32-directive = -march=armv8-a
|
||||
endif
|
||||
|
||||
ifeq ($(notdir $(CC)),armclang)
|
||||
ifneq ($(findstring armclang,$(notdir $(CC))),)
|
||||
TF_CFLAGS_aarch32 = -target arm-arm-none-eabi $(march32-directive)
|
||||
TF_CFLAGS_aarch64 = -target aarch64-arm-none-eabi -march=armv8-a
|
||||
LD = $(LINKER)
|
||||
|
|
Loading…
Add table
Reference in a new issue