~mpu/qbe

qbe: hard-code $(CC) to equal "cc" v1 APPLIED

Lorenz (xha): 1
 hard-code $(CC) to equal "cc"

 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, that's now pushed.

Sorry for the delay.
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mpu/qbe/patches/47424/mbox | git am -3
Learn more about email & git

[PATCH qbe] hard-code $(CC) to equal "cc" Export this patch

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)
-- 
2.43.0
*ping*
Roberto E. Vargas Caballero <k0ga@shike2.com>
Hi,