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

This commit is contained in:
overflowerror 2021-05-14 17:34:32 +02:00
parent a691fb05a2
commit 33f1d86910

View file

@ -1,7 +1,7 @@
CC = gcc 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 LD = gcc
LDFLAGS = -pthread -lrt LDFLAGS = -pthread -lrt -rdynamic
AR = ar AR = ar
ARFLAGS = rcs ARFLAGS = rcs