diff options
author | turret <turret@duck.com> | 2023-12-18 18:40:19 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2023-12-18 18:40:19 -0600 |
commit | 7648b5a7b22ae3b3e3a3fa39fd83bce06554385d (patch) | |
tree | d553afe5122333663c32645d660a54fdfa872716 /Makefile | |
parent | 54b308af97b91ceabb0a482f325d3a8595b01aa3 (diff) | |
download | discord-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |