summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAutechre2021-03-17 07:20:55 +0100
committerGitHub2021-03-17 07:20:55 +0100
commit85ba903b19f9ef39c80906680dd210f259b5160c (patch)
treef9adf1475cbaa9621bb22eb02c7452a3b6c62922 /Makefile
parentb9ac4536757c4c24afaa86b6e3131ec21e407e80 (diff)
parent34e672ed25f96c3558534ac24523103f3711e58a (diff)
downloadpicogpsp-85ba903b19f9ef39c80906680dd210f259b5160c.tar.gz
picogpsp-85ba903b19f9ef39c80906680dd210f259b5160c.tar.bz2
picogpsp-85ba903b19f9ef39c80906680dd210f259b5160c.zip
Merge pull request #110 from davidgfnet/master
Rewrite the MIPS stub backend to add OpenDingux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 20de2e5..eddfe36 100644
--- a/Makefile
+++ b/Makefile
@@ -193,7 +193,7 @@ else ifeq ($(platform), psp1)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = psp-gcc$(EXE_EXT)
AR = psp-ar$(EXE_EXT)
- CFLAGS += -DPSP -G0
+ CFLAGS += -DPSP -G0 -DUSE_BGR_FORMAT
CFLAGS += -I$(shell psp-config --pspsdk-path)/include
CFLAGS += -march=allegrex -mfp32 -mgp32 -mlong32 -mabi=eabi
CFLAGS += -fomit-frame-pointer -ffast-math
@@ -374,8 +374,10 @@ else ifeq ($(platform), gcw0)
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
+ fpic := -fPIC -DPIC
CFLAGS += -fomit-frame-pointer -ffast-math -march=mips32 -mtune=mips32r2 -mhard-float
+ HAVE_DYNAREC := 1
+ CPU_ARCH := mips
# Windows
else