diff --git a/Makefile b/Makefile index 3d55203f..3bc9bb40 100644 --- a/Makefile +++ b/Makefile @@ -167,7 +167,7 @@ ifneq (,$(findstring asan,$(D))) endif ifneq (,$(findstring tsan,$(D))) - DEBUG_CFLAGS_INTERNAL += -fsanitize=thread -fPIE + DEBUG_CFLAGS_INTERNAL += -fsanitize=thread -fPIC DEBUG_LDFLAGS_INTERNAL += -fsanitize=thread -ltsan -pie endif