From d93d4c95cbecd64d8db8631ad74d0590f9dabff2 Mon Sep 17 00:00:00 2001 From: Aaron Kling Date: Fri, 7 Jun 2019 13:57:35 -0500 Subject: [PATCH] libretro: allow mingw cross compile --- libretro/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro/Makefile b/libretro/Makefile index f2b4c886..33db15c1 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -535,8 +535,8 @@ else CXXFLAGS += $(LTO) LDFLAGS += $(LTO) TARGET := $(TARGET_NAME)_libretro.dll - CC = gcc - CXX = g++ + CC ?= gcc + CXX ?= g++ SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=link.T CXXFLAGS += -D__WIN32__ endif