Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Fmsx
Commits
feb4c8b0
Commit
feb4c8b0
authored
Jun 03, 2019
by
Steel01
Browse files
libretro: allow mingw cross compile
parent
6b241974
Changes
2
Hide whitespace changes
Inline
Side-by-side
EMULib/Rules.gcc
View file @
feb4c8b0
...
...
@@ -7,14 +7,14 @@ LIB68K = $(BASEDIR)/M68000
LIBGBZ = $(BASEDIR)/GBZ80
PRIVATE = $(BASEDIR)/Private
CXX = g++
CC = gcc
CPP = cpp
MOC = moc
SDT2GAS = perl $(EMULIB)/Tools/sdt2gas.pl
CFLAGS = -I. -I.. -I$(EMULIB)
DEFINES = -DZLIB
LIBS = -lz
CXX
?
= g++
CC
?
= gcc
CPP
?
= cpp
MOC
?
= moc
SDT2GAS
?
= perl $(EMULIB)/Tools/sdt2gas.pl
CFLAGS
+
= -I. -I.. -I$(EMULIB)
DEFINES
+
= -DZLIB
LIBS
+
= -lz
# EMULib sound, console, and other utility functions
OBJECTS = $(EMULIB)/EMULib.o $(EMULIB)/Sound.o \
...
...
Makefile
View file @
feb4c8b0
...
...
@@ -472,8 +472,8 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
else
TARGET
:=
$(TARGET_NAME)
_libretro.dll
CC
=
gcc
CC_AS
=
gcc
CC
?
=
gcc
CC_AS
?
=
gcc
SHARED
:=
-shared
-static-libgcc
-static-libstdc
++
-Wl
,-no-undefined
-Wl
,-version-script
=
link.T
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment