From 954625e477d252d4bbfd5676605f639fca7ebbbb Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Fri, 17 Jan 2025 21:51:03 +0100 Subject: [PATCH] Makefile: add assembly arm cpu flags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5bb436d..17cc3ec 100644 --- a/Makefile +++ b/Makefile @@ -268,7 +268,7 @@ PKG_CONFIG ?= $(CHAINPREFIX)/usr/bin/pkg-config PKGS = sdl SDL_image zlib PKGS_CFLAGS = $(shell $(PKG_CONFIG) --cflags $(PKGS)) PKGS_LIBS = $(shell $(PKG_CONFIG) --libs $(PKGS)) -CFLAGS = -O2 -pipe -fno-builtin -fno-common \ +CFLAGS = -O2 -mcpu=arm926ej-s -mtune=arm926ej-s -pipe -fno-builtin -fno-common \ -fomit-frame-pointer -fexpensive-optimizations -Wno-write-strings -DLSB_FIRST CFLAGS += -D__cdecl="" -D__fastcall="" CFLAGS += $(PKGS_CFLAGS)