aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Kling2019-06-07 14:13:41 -0500
committerGitLab Runner2019-08-03 02:24:19 -0500
commitd50212dd94bd8e5ca5812e0867101a2e1130f57b (patch)
tree801d299154c7fba84b143f5e007596ec104c809a /Makefile
parent0ed20f0a360817a8a3c21274bfdca93fb6e0dae5 (diff)
downloadsnes9x2005-d50212dd94bd8e5ca5812e0867101a2e1130f57b.tar.gz
snes9x2005-d50212dd94bd8e5ca5812e0867101a2e1130f57b.tar.bz2
snes9x2005-d50212dd94bd8e5ca5812e0867101a2e1130f57b.zip
libretro: allow mingw cross compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3bfef2e..f12da67 100644
--- a/Makefile
+++ b/Makefile
@@ -474,8 +474,8 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
else
TARGET := $(TARGET_NAME)_libretro.dll
- CC = gcc
- CXX = g++
+ CC ?= gcc
+ CXX ?= g++
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
LDFLAGS += -static-libgcc -static-libstdc++ -lwinmm
endif