aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-12-18 18:40:19 -0600
committerturret <turret@duck.com>2023-12-18 18:40:19 -0600
commit7648b5a7b22ae3b3e3a3fa39fd83bce06554385d (patch)
treed553afe5122333663c32645d660a54fdfa872716 /Makefile
parent54b308af97b91ceabb0a482f325d3a8595b01aa3 (diff)
downloaddiscord-bot-skeleton-7648b5a7b22ae3b3e3a3fa39fd83bce06554385d.tar.gz
discord-bot-skeleton-7648b5a7b22ae3b3e3a3fa39fd83bce06554385d.tar.bz2
discord-bot-skeleton-7648b5a7b22ae3b3e3a3fa39fd83bce06554385d.zip
init: minor optimisations
move spin locks to dedicated function so we can minimise repetition of code. now uses more C and less assembly. init.c uses 8192 * 512 as a maximum even if the stack rlimit is larger
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6f1d56..5cc289e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -std=c99 -O3 -g -Wall -Wextra -Wpedantic -masm=intel
+CFLAGS = -std=gnu99 -O3 -g -Wall -Wextra -Wpedantic -masm=intel
CFLAGS += -Iinclude -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L
CFLAGS += -Wno-unused-result
LDFLAGS = -Tlinker.ld -no-pie -g -lcurl