commit 1e91d3d3844f29c49247ae7317c6c6c8c2fd5b68
parent 7caedde35e017a6e0c626d36022e91ff671aac86
Author: deurzen <m.deurzen@tum.de>
Date: Thu, 2 Sep 2021 08:39:00 +0200
adds pthread link option
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -35,7 +35,7 @@ DEPS = $(OBJ_FILES:%.o=%.d)
SANFLAGS = -fsanitize=undefined -fsanitize=address -fsanitize-address-use-after-scope
CXXFLAGS = -std=c++20 -I./spdlog/include
-LDFLAGS = `pkg-config --libs x11 xrandr xres libprocps`
+LDFLAGS = `pkg-config --libs x11 xrandr xres libprocps` -pthread
DEBUG_CXXFLAGS = -Wall -Wpedantic -Wextra -Wold-style-cast -g -DDEBUG ${SANFLAGS}
DEBUG_LDFLAGS = ${SANFLAGS}