From a21741a2f041f578da8e5073d9d860a924fb6c3d Mon Sep 17 00:00:00 2001 From: NHOrus Date: Thu, 8 Mar 2018 14:40:03 +0300 Subject: [PATCH] Fix for possibly-local problem of linking of sanitizers They - and wle debug mode - refused to link without libunwind --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 911b74d..084642e 100644 --- a/Makefile +++ b/Makefile @@ -128,6 +128,7 @@ debug: CCFLAGS += -ggdb debug: CCFLAGS += -U_FORTIFY_SOURCE debug: CCFLAGS += -fsanitize=address debug: CCFLAGS += -fsanitize=undefined +debug: LIBS += $(shell pkg-config --libs libunwind) debug: linty CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf