libretro: allow mingw cross compile

This commit is contained in:
Aaron Kling 2019-06-19 14:01:11 -05:00 committed by GitLab Runner
parent 6bdd6d1b22
commit a01a2d4dd0
1 changed files with 2 additions and 2 deletions

View File

@ -515,8 +515,8 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
# Windows
else
TARGET := $(TARGET_NAME)_libretro.dll
CC = gcc
CXX = g++
CC ?= gcc
CXX ?= g++
SHARED := -shared -static-libgcc -static-libstdc++ -Wl,-no-undefined -Wl,-version-script=$(LIBRETRO_DIR)/link.T
TILED_RENDERING=1
endif