mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-03-30 16:52:52 +02:00
libretro, build fixes
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user