aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-30 15:32:08 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-30 15:32:08 -0500
commit4b11f1b2b63effe71ddac5aac0879c1512057e8b (patch)
treebffaa7a510f33e5738f7ed982543f4e7483f7589 /Makefile
parent091f43e8ef18ee82d5b4932b45a00ab44f9a677d (diff)
Compile with thread support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6e99c5e1..acf727b3 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ VERSION=0.0.1
CC=gcc
CCONFIG=-std=c23 -Werror -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -fPIC -I. \
-fno-signed-zeros -fno-finite-math-only -fno-signaling-nans -fno-trapping-math \
- -fsanitize=signed-integer-overflow -fno-sanitize-recover -fvisibility=hidden -fdollars-in-identifiers
+ -fsanitize=signed-integer-overflow -fno-sanitize-recover -fvisibility=hidden -fdollars-in-identifiers \
+ -DGC_THREADS
LTO=-flto=auto -fno-fat-lto-objects -Wl,-flto
LDFLAGS=
# MAKEFLAGS := --jobs=$(shell nproc) --output-sync=target