From 013b7f659985b540e549599ed2e17adb9c81d858 Mon Sep 17 00:00:00 2001 From: dacctal Date: Mon, 25 May 2026 04:13:07 +0000 Subject: frosty telling me one thing that fixes the entire codebase maybe this should just be his project --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 91ed17a..192326e 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ .PHONY: default debug install defconfig clean -CC = gcc +CC ?= clang RM = rm -f PREFIX ?= /usr/local OBJDIR = obj SRCS = $(wildcard src/*.c) OBJS = $(SRCS:src/%.c=$(OBJDIR)/%.o) -CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation +CFLAGS += $(shell pkg-config --cflags luajit) -I./include -Wno-format-truncation -std=c99 -D_POSIX_C_SOURCE=200112L default: pkgit -- cgit v1.2.3