From 2440c4186b8b3dfb8cefdd26bf52079a94163a41 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Mon, 3 Jun 2019 14:19:34 -0500 Subject: [PATCH] libretro: allow mingw cross compile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0b6e2a7..bd09985 100644 --- a/Makefile +++ b/Makefile @@ -388,9 +388,9 @@ else ifneq (,$(findstring windows_msvc2017,$(platform))) # Windows else TARGET := $(TARGET_NAME)_libretro.dll - CC = gcc - CC_AS = gcc - CXX = g++ + CC ?= gcc + CC_AS ?= gcc + CXX ?= g++ SHARED := -shared -static-libgcc -static-libstdc++ -Wl,-no-undefined -Wl,-version-script=link.T LIBS += -lshlwapi PLATFORM_DEFINES += -D__WIN32__ -DDIR_SEP_BACKSLASH=1