libretro: allow mingw cross compile

This commit is contained in:
Aaron Kling 2019-06-06 15:53:54 -05:00 committed by GitLab Runner
parent d2cf93ff39
commit bb293df3b2

View File

@ -547,7 +547,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
else
EXT?=dll
TARGET := $(TARGET_NAME)_libretro.$(EXT)
CC = gcc
CC ?= gcc
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=libretro/link.T
CFLAGS += -D__WIN32__ -Wno-missing-field-initializers -DHAVE_STRLWR
LIBS =