diff -Naur a/Makefile b/Makefile
--- a/Makefile	2017-08-18 14:58:12.000000000 -0700
+++ b/Makefile	2017-09-05 12:41:51.209673108 -0700
@@ -198,7 +198,6 @@
    TARGET := $(TARGET_NAME)_libretro.so
    fpic := -fPIC
    SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
-   CC = gcc
    LDFLAGS += $(PTHREAD_FLAGS)
    FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
    IS_X86 = 0
