aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTwinaphex2019-09-14 08:13:31 +0200
committerGitHub2019-09-14 08:13:31 +0200
commite5cadd2f21fb64e8c7194ad006b39e6f555c4a5b (patch)
treee0332df0d7c7c8994217fc5da43c01264e3b4693 /Makefile
parent24267eff01bdfe2807201ca9bd195a86bec40bc6 (diff)
parentd50212dd94bd8e5ca5812e0867101a2e1130f57b (diff)
downloadsnes9x2005-e5cadd2f21fb64e8c7194ad006b39e6f555c4a5b.tar.gz
snes9x2005-e5cadd2f21fb64e8c7194ad006b39e6f555c4a5b.tar.bz2
snes9x2005-e5cadd2f21fb64e8c7194ad006b39e6f555c4a5b.zip
Merge pull request #67 from webgeek1234/master
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 8b9b29f..fb59009 100644
--- a/Makefile
+++ b/Makefile
@@ -484,8 +484,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