diff --git a/config.mk b/config.mk index 942f00c..20d8369 100755 --- a/config.mk +++ b/config.mk @@ -211,6 +211,10 @@ endif # ASAN LDFLAGS+= -lz -lrt -lgomp -lpthread +ifdef STATIC +LDFLAGS+= -static +endif + ifdef STATIC_LIBCPP LDFLAGS+= -static-libstdc++ else