shithub: m8c

Download patch

ref: 2a81ddf6e146d8501f6b98f4c09ee9319d3a1fca
parent: 0d26ae51707d66326954aa527a00579ea2f43129
author: K. Adam Christensen <pope@shifteleven.com>
date: Tue Sep 2 16:56:12 EDT 2025

Use conditional variable for CC

This will allow `make` to work on MacOS, and thus `nix build .#m8c-dev`
will now build with clang on MacOS.

Signed-off-by: K. Adam Christensen <pope@shifteleven.com>

--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 #Set the compiler you are using
-CC = gcc
+CC ?= gcc
 
 #Set the filename extension of your C files
 EXTENSION = .c
--