summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Kling2019-06-07 14:06:29 -0500
committerGitLab Runner2019-07-02 20:26:00 -0500
commit4cf9eb99e3a2b6bb527ba115b068ad17bcbc827b (patch)
treef2efe42eb26880ee204354d73a946058c3240a4a /Makefile
parent4a8f6ac674efa11636060c3c8f5e5ec3b61218c6 (diff)
downloadsnes9x2002-4cf9eb99e3a2b6bb527ba115b068ad17bcbc827b.tar.gz
snes9x2002-4cf9eb99e3a2b6bb527ba115b068ad17bcbc827b.tar.bz2
snes9x2002-4cf9eb99e3a2b6bb527ba115b068ad17bcbc827b.zip
libretro: allow mingw cross compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 87733b5..f2c2130 100644
--- a/Makefile
+++ b/Makefile
@@ -297,7 +297,7 @@ CFLAGS += -D_CRT_SECURE_NO_DEPRECATE
NO_GCC = 1
else
TARGET := $(TARGET_NAME)_libretro.dll
- CC = gcc
+ CC ?= gcc
fpic :=
SHARED := -shared -Wl,--no-undefined -Wl,--version-script=libretro/link.T
LD_FLAGS += -static-libgcc -static-libstdc++ -lwinmm