From 266df463ccfe7fb3b993e69047d0a4d816d78bf8 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 12 Jun 2019 12:03:34 +0200 Subject: [PATCH] Support externally provided compiler --- src/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index f3f473f09..45ff58450 100644 --- a/src/Makefile +++ b/src/Makefile @@ -206,8 +206,7 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID) endif # Define default C compiler and archiver to pack library -# NOTE: define g++ compiler if using C++ -CC = gcc +CC ?= gcc AR = ar ifeq ($(PLATFORM),PLATFORM_DESKTOP)