Unverified Commit 08fd68a2 authored by Antonio Niño Díaz's avatar Antonio Niño Díaz Committed by GitHub
Browse files

Merge pull request #1718 from vwadekar/cc-variable-findstring

build: find "armclang" string in the 'CC' variable
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment