Explorar el Código

Support externally provided compiler

Ray hace 6 años
padre
commit
266df463cc
Se han modificado 1 ficheros con 1 adiciones y 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)