summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2025-01-10 23:54:02 +0000
committerGitHub <noreply@github.com>2025-01-10 18:54:02 -0500
commitb19b06a5314124824a01573c80addda3f82f7585 (patch)
treefbea2c0e77ddafd1ab03f1a4355f86c481954808 /Makefile
parent1549f34e8e8e0211d7f6cc672b0ac7f4125d6e03 (diff)
[iQue] Match remaining libultra/os files (#2414)
* Match remaining libultra/os files * Align box id macros * Fix bss, format * Fix BSS * Clarify some comments * More bug comment * Comment * Fix BSS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70105ac6d..ebba84f85 100644
--- a/Makefile
+++ b/Makefile
@@ -214,7 +214,7 @@ else ifeq ($(PLATFORM),GC)
LIBULTRA_VERSION := L
LIBULTRA_PATCH := 0
else ifeq ($(PLATFORM),IQUE)
- CPP_DEFINES += -DPLATFORM_N64=0 -DPLATFORM_GC=0 -DPLATFORM_IQUE=1 -DBBPLAYER
+ CPP_DEFINES += -DPLATFORM_N64=0 -DPLATFORM_GC=0 -DPLATFORM_IQUE=1
LIBULTRA_VERSION := L
LIBULTRA_PATCH := 0
else
@@ -702,8 +702,12 @@ else
$(BUILD_DIR)/src/libultra/gu/%.o: OPTFLAGS := -O2
$(BUILD_DIR)/src/libultra/io/%.o: OPTFLAGS := -O2
$(BUILD_DIR)/src/libultra/libc/%.o: OPTFLAGS := -O2
+ifeq ($(PLATFORM),IQUE)
+$(BUILD_DIR)/src/libultra/os/%.o: OPTFLAGS := -O0
+else
$(BUILD_DIR)/src/libultra/os/%.o: OPTFLAGS := -O1
endif
+endif
$(BUILD_DIR)/src/libleo/%.o: CC := $(CC_OLD)
$(BUILD_DIR)/src/libleo/%.o: OPTFLAGS := -O2