summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwinaphex <libretro@gmail.com>2020-10-07 04:22:01 +0200
committertwinaphex <libretro@gmail.com>2021-03-12 08:42:23 +0100
commit32c35ac36a7fa84165e3e687adff015a10feb95a (patch)
tree6f4bfc3f13109297040d779126aa3aad900862db
parent96d2ddca404cdee9339b98b78df084ca453ec7da (diff)
Set CC ?= to allow overrides
-rw-r--r--Makefile.libretro8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index c977ec3..0fcca72 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -10,28 +10,28 @@ ifeq ($(platform), emscripten)
else ifneq ($(findstring MINGW64,$(UNAME)),)
platform = win
OS :=Windows
- CC :=gcc
+ CC ?=gcc
ABI := x86_64
target = libblastem.dll
libname = blastem_libretro.dll
else ifneq ($(findstring MINGW32,$(UNAME)),)
platform = win
OS :=Windows
- CC :=gcc
+ CC ?=gcc
ABI := i686
target = libblastem.dll
libname = blastem_libretro.dll
else ifneq ($(findstring Darwin,$(UNAME)),)
platform = osx
OS :=Darwin
- CC :=gcc
+ CC ?=gcc
ABI := x86_64
target = libblastem.dylib
libname = blastem_libretro.dylib
else
platform = linux
OS :=Linux
- CC :=gcc
+ CC ?=gcc
ABI := x86_64
target = libblastem.so
libname = blastem_libretro.so