From 00501eeb6ee3a59cc2aa5f78c6569b8d1a3dae49 Mon Sep 17 00:00:00 2001
From: "Lorenz (xha)" <me@xha.li>
Date: Wed, 6 Dec 2023 12:39:26 +0100
Subject: [PATCH] hard-code $(CC) to equal "cc"

this fixes the build on FreeBSD, where the value of $(CC) recently
changed from "cc" (13.2) to "c99" (14).

Signed-off-by: Lorenz (xha) <me@xha.li>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 3266c76..f5e8a76 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ OBJ      = $(COMMOBJ) $(AMD64OBJ) $(ARM64OBJ) $(RV64OBJ)
 
 SRCALL   = $(OBJ:.o=.c)
 
+CC       = cc
 CFLAGS   = -std=c99 -g -Wall -Wextra -Wpedantic
 
 qbe: $(OBJ)