From d50212dd94bd8e5ca5812e0867101a2e1130f57b Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Fri, 7 Jun 2019 14:13:41 -0500 Subject: libretro: allow mingw cross compile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3bfef2e..f12da67 100644 --- a/Makefile +++ b/Makefile @@ -474,8 +474,8 @@ else ifneq (,$(findstring windows_msvc2017,$(platform))) else TARGET := $(TARGET_NAME)_libretro.dll - CC = gcc - CXX = g++ + CC ?= gcc + CXX ?= g++ SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T LDFLAGS += -static-libgcc -static-libstdc++ -lwinmm endif -- cgit v1.2.3