From 2d78e0bc3289c0a13ddea6dd1203321e10bfa2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Pla=C3=A7a?= Date: Wed, 17 Apr 2024 13:47:28 -0300 Subject: [PATCH] update deprecated cflags out of finalize Makefile 3ds.h currently prints a Warning when it detects the usage of compilation flags -DARM11 -D_3DS, stating that -D__3DS__ should be used in their stead. See https://github.com/devkitPro/libctru/commit/48967dc417deca60592e4137084f74a27411913f --- .gitignore | 1 - finalize/Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dc56489..183e378 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ .vscode/ bin/linux/save3ds_fuse -**/finalize cstins/ testing-class.py diff --git a/finalize/Makefile b/finalize/Makefile index ffa959d..fbe50e1 100644 --- a/finalize/Makefile +++ b/finalize/Makefile @@ -54,7 +54,7 @@ CFLAGS := -g -Wall -O2 -mword-relocations \ -fomit-frame-pointer -ffunction-sections \ $(ARCH) -CFLAGS += $(INCLUDE) -DARM11 -D_3DS +CFLAGS += $(INCLUDE) -D__3DS__ CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=gnu++11