From 8d81faa63fd7f10508c8491a6c4f7221f0db6008 Mon Sep 17 00:00:00 2001 From: elijah-thomas774 Date: Fri, 22 Dec 2023 15:00:59 -0500 Subject: [PATCH] Updated Configure.py --- configure.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/configure.py b/configure.py index 58b5fb48..30822ba5 100644 --- a/configure.py +++ b/configure.py @@ -131,27 +131,31 @@ config.linker_version = "Wii/1.7" config.ldflags = [ "-fp hardware", "-nodefaults", + # "-listclosure", # Uncomment for Wii linkers ] # Base flags, common to most GC/Wii games. # Generally leave untouched, with overrides added below. cflags_base = [ - "-O4,p", "-nodefaults", "-proc gekko", "-align powerpc", "-enum int", "-fp hardware", "-Cpp_exceptions off", - "-W all", + # "-W all", + "-O4,p", "-inline auto", + '-pragma "cats off"', + '-pragma "warn_notinlined off"', "-maxerrors 1", "-nosyspath", "-RTTI off", "-fp_contract on", "-str reuse", - # "-multibyte", + "-enc SJIS", "-i include", + f"-i build/{config.version}/include", f"-DVERSION={version_num}", ] if config.debug: @@ -164,7 +168,9 @@ cflags_runtime = [ *cflags_base, "-use_lmw_stmw on", "-str reuse,pool,readonly", - "-inline deferred,auto", + "-gccinc", + "-common off", + "-inline auto", ] # Dolphin library flags