diff --git a/mk/spdk.common.mk b/mk/spdk.common.mk index 5e3b07b8a5..7ab2c5df74 100644 --- a/mk/spdk.common.mk +++ b/mk/spdk.common.mk @@ -104,7 +104,8 @@ COMMON_CFLAGS += -fsanitize=address LDFLAGS += -fsanitize=address endif -LDFLAGS += -lpthread -lrt +COMMON_CFLAGS += -pthread +LDFLAGS += -pthread -lrt MAKEFLAGS += --no-print-directory