aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLion Kortlepel <[email protected]>2026-01-15 00:35:01 +0100
committerLion Kortlepel <[email protected]>2026-01-15 00:35:01 +0100
commit3553e8f85014d2273b50dc2db6b2cc1c5531369b (patch)
tree66ce3e34ab7c33b9bec14238e9157770f4b70f21
parent9e339590868ada3da5e6b86d544f75e351442a4e (diff)
downloadqueue-3553e8f85014d2273b50dc2db6b2cc1c5531369b.tar.zst
queue-3553e8f85014d2273b50dc2db6b2cc1c5531369b.zip
fix: remove -ansi as we have -std=
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ed1c393..f35b06a 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,7 @@ tests/tests: ls_queue.o tests/tests.c tests/ls_test.h
# most pedantic settings.
# Dont use this.
ls_queue.o: ls_queue.h
- $(CC) -c -x c -o $@ $^ -Wall -Wextra -Wpedantic -Werror -ansi -std=c89 \
- -DLS_QUEUE_IMPLEMENTATION \
+ $(CC) -c -x c -o $@ $^ -Wall -Wextra -Wpedantic -Werror -std=c89 \
-Wno-error=pragma-once-outside-header \
-Wno-pragma-once-outside-header