mirror of https://github.com/snes9xgit/snes9x.git
libretro: allow mingw cross compile
This commit is contained in:
parent
89a997a02b
commit
d93d4c95cb
|
@ -535,8 +535,8 @@ else
|
||||||
CXXFLAGS += $(LTO)
|
CXXFLAGS += $(LTO)
|
||||||
LDFLAGS += $(LTO)
|
LDFLAGS += $(LTO)
|
||||||
TARGET := $(TARGET_NAME)_libretro.dll
|
TARGET := $(TARGET_NAME)_libretro.dll
|
||||||
CC = gcc
|
CC ?= gcc
|
||||||
CXX = g++
|
CXX ?= g++
|
||||||
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=link.T
|
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=link.T
|
||||||
CXXFLAGS += -D__WIN32__
|
CXXFLAGS += -D__WIN32__
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue