From 33f1d86910692b9434a2e119fd12c135e58aa8e3 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Fri, 14 May 2021 17:34:32 +0200 Subject: [PATCH] enable pthread to compiler flags (apparently not doing so causes problems when setting sigmasks); removing static flag (not sure why it was with the compiler flags); set BACKTRACE macro for debugging --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 748e749..3dc49bb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC = gcc -CFLAGS = -std=c99 -Wall -D_POSIX_C_SOURCE=201112L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -static -g +CFLAGS = -std=c99 -Wall -DBACKTRACE -D_POSIX_C_SOURCE=201112L -D_XOPEN_SOURCE=500 -D_GNU_SOURCE -g -pthread LD = gcc -LDFLAGS = -pthread -lrt +LDFLAGS = -pthread -lrt -rdynamic AR = ar ARFLAGS = rcs