Fix OpenDingux Beta build
This commit is contained in:
parent
6f2d0bbee8
commit
3db35eab70
|
@ -185,3 +185,5 @@ libretro-build-dingux-odbeta-mips32:
|
||||||
extends:
|
extends:
|
||||||
- .libretro-dingux-odbeta-mips32-make-default
|
- .libretro-dingux-odbeta-mips32-make-default
|
||||||
- .core-defs
|
- .core-defs
|
||||||
|
variables:
|
||||||
|
platform: gcw0-odbeta
|
||||||
|
|
16
Makefile
16
Makefile
|
@ -379,6 +379,22 @@ else ifeq ($(platform), gcw0)
|
||||||
HAVE_DYNAREC := 1
|
HAVE_DYNAREC := 1
|
||||||
CPU_ARCH := mips
|
CPU_ARCH := mips
|
||||||
|
|
||||||
|
# GCW0 (OpenDingux Beta)
|
||||||
|
else ifeq ($(platform), gcw0-odbeta)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
|
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc
|
||||||
|
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-linux-g++
|
||||||
|
AR = /opt/gcw0-toolchain/usr/bin/mipsel-linux-ar
|
||||||
|
SHARED := -shared -nostdlib -Wl,--version-script=link.T
|
||||||
|
fpic := -fPIC -DPIC
|
||||||
|
CFLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
|
||||||
|
# The ASM code and/or MIPS dynarec of GPSP does not respect
|
||||||
|
# MIPS calling conventions, so we must use '-fno-caller-saves'
|
||||||
|
# for the OpenDingux Beta build
|
||||||
|
CFLAGS += -fno-caller-saves
|
||||||
|
HAVE_DYNAREC := 1
|
||||||
|
CPU_ARCH := mips
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
else
|
else
|
||||||
TARGET := $(TARGET_NAME)_libretro.dll
|
TARGET := $(TARGET_NAME)_libretro.dll
|
||||||
|
|
Loading…
Reference in New Issue