notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
76d645b
)
minor makefile adjustment
author
notaz
<notasas@gmail.com>
Tue, 17 Oct 2023 22:57:40 +0000
(
01:57
+0300)
committer
notaz
<notasas@gmail.com>
Tue, 17 Oct 2023 23:28:18 +0000
(
02:28
+0300)
Makefile.libretro
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.libretro
b/Makefile.libretro
index
ca5feca
..
222941d
100644
(file)
--- a/
Makefile.libretro
+++ b/
Makefile.libretro
@@
-24,6
+24,7
@@
endif
CC ?= gcc
CXX ?= g++
AS ?= as
CC ?= gcc
CXX ?= g++
AS ?= as
+LD ?= ld
CFLAGS ?=
# early compiler overrides
CFLAGS ?=
# early compiler overrides
@@
-129,7
+130,7
@@
else ifneq (,$(findstring CortexA73_G12B,$(platform)))
HAVE_NEON = 1
DYNAREC = ari64
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
HAVE_NEON = 1
DYNAREC = ari64
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
- C
PUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8
-mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
+ C
FLAGS += -march=armv8-a+crc
-mcpu=cortex-a73 -mtune=cortex-a73.cortex-a53
# ALLWINNER H5
else ifneq (,$(findstring h5,$(platform)))
# ALLWINNER H5
else ifneq (,$(findstring h5,$(platform)))
@@
-141,7
+142,7
@@
else ifneq (,$(findstring h5,$(platform)))
HAVE_NEON = 1
DYNAREC = ari64
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
HAVE_NEON = 1
DYNAREC = ari64
CFLAGS += -fomit-frame-pointer -ffast-math -DARM
- C
PUFLAGS += -march=armv8-a+crc -mfpu=neon-fp-armv8
-mcpu=cortex-a53 -mtune=cortex-a53
+ C
FLAGS += -march=armv8-a+crc
-mcpu=cortex-a53 -mtune=cortex-a53
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so
else ifeq ($(platform), linux-portable)
TARGET := $(TARGET_NAME)_libretro.so
@@
-579,7
+580,7
@@
ifndef HAVE_NEON_ASM
# asm for 32bit only
HAVE_NEON_ASM = $(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep -q HAVE_NEON32 && echo 1 || echo 0)
endif
# asm for 32bit only
HAVE_NEON_ASM = $(shell $(CC) -E -dD $(CFLAGS) include/arm_features.h | grep -q HAVE_NEON32 && echo 1 || echo 0)
endif
-ifeq ($(NO_UNDEF_CHECK)$(shell
ld
-v 2> /dev/null | awk '{print $$1}'),GNU)
+ifeq ($(NO_UNDEF_CHECK)$(shell
$(LD)
-v 2> /dev/null | awk '{print $$1}'),GNU)
MAIN_LDFLAGS += -Wl,--no-undefined
endif
ifdef ALLOW_LIGHTREC_ON_ARM
MAIN_LDFLAGS += -Wl,--no-undefined
endif
ifdef ALLOW_LIGHTREC_ON_ARM