From 4b11f1b2b63effe71ddac5aac0879c1512057e8b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 30 Dec 2024 15:32:08 -0500 Subject: Compile with thread support --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3