Explorar o código

Support externally provided compiler

Ray %!s(int64=6) %!d(string=hai) anos
pai
achega
266df463cc
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/Makefile

+ 1 - 2
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)