commit | 317b7a2e4e55168a59cf4d82d66c49e88e6108ff | [log] [tgz] |
---|---|---|
author | Antonio Niño Díaz <antonio.ninodiaz@arm.com> | Tue Dec 18 11:55:45 2018 +0100 |
committer | GitHub <noreply@github.com> | Tue Dec 18 11:55:45 2018 +0100 |
tree | cc6c3c6cce9edb498460bc5c983caf7bd4d69a62 | |
parent | 91feee9710af20f42ea5f3a601e526fcb5ddcf7a [diff] | |
parent | dbbca2f8c116f8179eb7a1f577e15e09a8d55819 [diff] |
Merge pull request #1718 from vwadekar/cc-variable-findstring build: find "armclang" string in the 'CC' variable
diff --git a/Makefile b/Makefile index 9525d41..18fdfe7 100644 --- a/Makefile +++ b/Makefile
@@ -154,7 +154,7 @@ 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)