summary refs log tree commit diff
diff options
context:
space:
mode:
authorLorenz (xha) <me@xha.li>2023-12-06 12:39:26 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2023-12-30 15:50:35 +0100
commit00501eeb6ee3a59cc2aa5f78c6569b8d1a3dae49 (patch)
treee1e203610cdc5231a89c1713c2fa6736b1cfbf53
parentd023bdaa6b493686f7e9be7ac200ee4ac37d351f (diff)
downloadroux-00501eeb6ee3a59cc2aa5f78c6569b8d1a3dae49.tar.gz
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>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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)