summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-01 11:34:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-01 11:34:49 +0100
commit7137cd7d057c3d7bf3193cb050497092eef9dad8 (patch)
treeeb24c4dc0263ff0e8a78c4d45ab3d3b49a58be4d /makefiles
parenteaaed1a2a54b473d70e7d3c69be14585691f84cc (diff)
downloadbuildsystem-7137cd7d057c3d7bf3193cb050497092eef9dad8.tar.gz
buildsystem-7137cd7d057c3d7bf3193cb050497092eef9dad8.tar.bz2
Makefile.tools: Notice `lcc` and pretend it's `gcc`
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/Makefile.tools5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index a613c93..c60d6fc 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -373,6 +373,11 @@ else
endif
endif
+ ifeq ($(findstring lcc:,$(ccvsn)),lcc:)
+ # MCST LCC pretends to be gcc
+ toolchain := gcc
+ endif
+
# "Norcroft ..."
ifeq ($(word 1,$(ccvsn)),Norcroft)
toolchain := norcroft