summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-07-29 10:23:35 -0700
committerGitHub <noreply@github.com>2023-07-29 13:23:35 -0400
commitea9f4c68bb2afee5529aa1027b6762542d20bb8f (patch)
treeafd499f6f9a900ac655eca4a73e84d5db2e1b80d /Makefile
parent632ff4b2abec60e91be7b71e0cf40043bed75f32 (diff)
LoadFragment 2 OK (#2)
* load_fragment2 * dma.h * og DoRelocation * comment format * A few more docs * symbol * remove _ from loadfragment2 * ptrdiff_t * z_std_dma.h * Format * load.h -> loadfragment.h * laodframgnet2 file optflags * Small notes * Per directory O2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3643a28..0a5aa95 100644
--- a/Makefile
+++ b/Makefile
@@ -142,7 +142,7 @@ AS_DEFINES := -DMIPSEB -D_LANGUAGE_ASSEMBLY -D_ULTRA64
C_DEFINES := -DLANGUAGE_C -D_LANGUAGE_C
ENDIAN := -EB
-OPTFLAGS := -O2
+OPTFLAGS := -O2 -g3
MIPS_VERSION := -mips2
ICONV_FLAGS := --from-code=UTF-8 --to-code=EUC-JP
@@ -188,6 +188,7 @@ $(shell mkdir -p $(BUILD_DIR)/linker_scripts/$(VERSION) $(BUILD_DIR)/linker_scri
# directory flags
+build/src/boot/O2/%.o: OPTFLAGS := -O2
# per-file flags