libretro, build fixes

This commit is contained in:
kub 2020-07-10 17:53:32 +02:00
parent 55c3c2b02f
commit 03d5f5105c
7 changed files with 63 additions and 168 deletions

View file

@ -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