We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be67ef1 commit 2bb82aeCopy full SHA for 2bb82ae
1 file changed
Makefile.libretro
@@ -191,6 +191,20 @@ endif
191
CFLAGS += -DARM
192
else ifeq ($(platform), emscripten)
193
TARGET := $(TARGET_NAME)_libretro_emscripten.bc
194
+
195
+# GCW0
196
+else ifeq ($(platform), gcw0)
197
+ TARGET := $(TARGET_NAME)_libretro.so
198
+ CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
199
+ CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
200
+ AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
201
+ fpic := -fPIC
202
+ SHARED := -shared -Wl,-no-undefined -Wl,--version-script=libretro/link.T
203
+ LDFLAGS += $(PTHREAD_FLAGS)
204
+ CFLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
205
+ CFLAGS += -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
206
207
+# Windows
208
else
209
TARGET := $(TARGET_NAME)_libretro.dll
210
CC = gcc
0 commit comments