From 2d7b9d87cb5a743396ba78e617abd57a7f94d28f Mon Sep 17 00:00:00 2001
From: QuzarDC <[EMAIL REDACTED]>
Date: Fri, 12 Jun 2026 21:09:11 -0400
Subject: [PATCH] dc: Update makefile to use KOS build wrappers
These wrappers allow for cleaner build output as well as handling
necessary flags and adjusting for test builds.
---
Makefile.dc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.dc b/Makefile.dc
index f79e6179..4899bfb1 100644
--- a/Makefile.dc
+++ b/Makefile.dc
@@ -3,9 +3,9 @@
# DreamHAL memory routines and replacements; threading updates.
# Set GL=1 to build the GLdc-enabled archive.
-CC := sh-elf-gcc
-AR := sh-elf-gcc-ar
-LD := sh-elf-gcc
+CC := kos-cc
+AR := kos-ar
+LD := kos-ld
ARFLAGS ?= rcs
# ------------------------------ Build variant ------------------------------
@@ -24,7 +24,7 @@ KOS_CFLAGS += -Isrc/video -Isrc/video/dc -DNO_SIGNAL_H -DENABLE_DC
# Ensure Dreamcast platform config and backend are selected
KOS_CFLAGS += -D__DREAMCAST__ -DSDL_VIDEO_DRIVER_DREAMCAST
-CFLAGS := $(KOS_CFLAGS) -Wimplicit-function-declaration $(DEFS) -Iinclude
+CFLAGS := -Wimplicit-function-declaration $(DEFS) -Iinclude
DEPFLAGS := -MMD -MP
# ------------------------------ Sources ------------------------------