libretro: allow mingw cross compile

This commit is contained in:
Aaron Kling 2019-06-07 13:57:35 -05:00 committed by hunterk
parent 89a997a02b
commit d93d4c95cb
1 changed files with 2 additions and 2 deletions

View File

@ -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