libretro: allow mingw cross compile
@@ -550,8 +550,8 @@ else ifeq ($(platform), windows_msvc2005_x86)
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
- CC = gcc
- CXX = g++
+ CC ?= gcc
+ CXX ?= g++
SHARED := -shared -static-libgcc -static-libstdc++ -Wl,-version-script=link.T
DISABLE_GCC_SECURITY_FLAGS = 1
endif
