From 1082a32431dcd8f58432a6ce610d35cf37c553ad Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 7 Jan 2026 22:01:05 +0900 Subject: fix: make string literals compatible with PIE --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 514eef9..bf073bc 100644 --- a/Makefile +++ b/Makefile @@ -26,13 +26,13 @@ $(BUILD_DIR): @mkdir -p $(BUILD_DIR) # TODO: provide release build? +# TODO: use --std=c23 instead of --std=gnu23 $(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS) - # TODO: use --std=c23 instead of --std=gnu23 $(CC) -Wall -MMD -g -O0 --std=gnu23 -o $@ $^ # TODO: provide release build? +# TODO: use --std=c23 instead of --std=gnu23 $(BUILD_DIR)/%.o: src/%.c - # TODO: use --std=c23 instead of --std=gnu23 $(CC) -c $(CFLAGS) -Wall -MMD -g -O0 --std=gnu23 -o $@ $< -include $(BUILD_DIR)/*.d -- cgit v1.2.3-70-g09d2