--- netsurf-3.8/buildsystem/makefiles/Makefile.tools-orig	2018-09-18 09:06:30.622701434 +0000
+++ netsurf-3.8/buildsystem/makefiles/Makefile.tools	2018-09-18 09:48:46.539300996 +0000
@@ -369,6 +369,11 @@
     endif
   endif
 
+  ifeq ($(findstring lcc:,$(ccvsn)),lcc:)
+    # MCST LCC pretends to be gcc
+    toolchain := gcc
+  endif
+
   # "Norcroft ..."
   ifeq ($(word 1,$(ccvsn)),Norcroft)
     toolchain := norcroft
