mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
libretro, build fixes
This commit is contained in:
parent
55c3c2b02f
commit
03d5f5105c
7 changed files with 63 additions and 168 deletions
21
Makefile
21
Makefile
|
@ -24,7 +24,6 @@ endif
|
|||
ifndef NO_ALIGN_FUNCTIONS
|
||||
CFLAGS += -falign-functions=2
|
||||
endif
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
|
||||
# profiling
|
||||
pprof ?= 0
|
||||
|
@ -64,27 +63,13 @@ asm_cdmemory ?= 1
|
|||
asm_mix ?= 1
|
||||
asm_32xdraw ?= 1
|
||||
asm_32xmemory ?= 1
|
||||
else ifneq (,$(findstring 86,$(ARCH)))
|
||||
use_fame ?= 1
|
||||
use_cz80 ?= 1
|
||||
use_sh2drc ?= 1
|
||||
else ifneq (,$(findstring mips,$(ARCH)))
|
||||
use_fame ?= 1
|
||||
use_cz80 ?= 1
|
||||
use_sh2drc ?= 1
|
||||
else ifneq (,$(findstring aarch64,$(ARCH)))
|
||||
use_fame ?= 1
|
||||
use_cz80 ?= 1
|
||||
use_sh2drc ?= 1
|
||||
else ifneq (,$(findstring riscv,$(ARCH)))
|
||||
use_fame ?= 1
|
||||
use_cz80 ?= 1
|
||||
use_sh2drc ?= 1
|
||||
else ifneq (,$(findstring powerpc,$(ARCH)))
|
||||
else
|
||||
use_fame ?= 1
|
||||
use_cz80 ?= 1
|
||||
ifneq (,$(filter "$(ARCH)","x86" "i386" "mips" "aarch64" "riscv" "powerpc"))
|
||||
use_sh2drc ?= 1
|
||||
endif
|
||||
endif
|
||||
|
||||
-include Makefile.local
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue