aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordacctal <dacctal@symlinx.net>2026-05-25 04:13:07 +0000
committerdacctal <dacctal@symlinx.net>2026-05-25 04:13:07 +0000
commit013b7f659985b540e549599ed2e17adb9c81d858 (patch)
treedf56ee9e41c8610660e34e1d21014ac8a0fbc871 /Makefile
parentb916aeed79d56158a38f88d37ad51ef90f9a154d (diff)
frosty telling me one thing that fixes the entire codebase maybe this should just be his project
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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