summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-10-21 13:42:46 -0500
committer@syxhe <https://t.me/syxhe>2025-10-21 13:42:46 -0500
commit65c39faa76cb7a711b21e1e54b9e0aa1410e997c (patch)
tree68375fb5d2ca61d6b1cc0655e3db6a909b020526 /src/Makefile
parent379b0712783c6e1dfece5550aee79bf39c1931a6 (diff)
Fix _GNU_SOURCE not being defined
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index de0c9f6..0a72955 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -29,7 +29,7 @@ $(TIMESTAMPS): $(TIMESTAMP_DIR)/%.t: %.c | $(TIMESTAMP_DIR)
29 touch $@ 29 touch $@
30 30
31main tests: %: %.c $(TIMESTAMPS) 31main tests: %: %.c $(TIMESTAMPS)
32 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@ 32 $(CC) -D_GNU_SOURCE=1 $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@
33 33
34 34
35# Phony rules 35# Phony rules