From 7a95dce5273fafef97b28817e604f8541d25dd1a Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:41:15 +0100 Subject: [PATCH 2/3] (MIYOO) Makefile: USE_CYCLONE & USE_DRZ80 also `-fno-PIC` --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 71a3bbcb..80d1c135 100644 --- a/Makefile +++ b/Makefile @@ -522,11 +522,14 @@ else ifeq ($(platform), miyoo) CC = /opt/miyoo/usr/bin/arm-linux-gcc CXX = /opt/miyoo/usr/bin/arm-linux-g++ AR = /opt/miyoo/usr/bin/arm-linux-ar - fpic := -fPIC + fpic := -fno-PIC LDFLAGS += -shared -Wl,--version-script=link.T -Wl,-no-undefined PLATCFLAGS := -DNO_UNALIGNED_ACCESS PLATCFLAGS += -fomit-frame-pointer -march=armv5te -mtune=arm926ej-s -ffast-math CXXFLAGS += -fno-rtti -fno-exceptions + ARM = 1 + USE_CYCLONE := 1 + USE_DRZ80 := 1 # Emscripten else ifeq ($(platform), emscripten) -- 2.45.2.windows.1