From: Rosen Penev Date: Tue, 20 May 2025 22:06:33 +0000 (-0700) Subject: tools/mold: remove static only dependencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c7538476e08df0635fdd1a2153c77c36a201c8;p=thirdparty%2Fopenwrt.git tools/mold: remove static only dependencies It seems that MOLD_MOSTLY_STATIC was required before to avoid packaging every single dependency. But nowadays, mold uses whatever dependency it can find and builds its own if it cannot. Saves a small amount of compilation time. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/18881 Signed-off-by: Robert Marko --- diff --git a/tools/mold/Makefile b/tools/mold/Makefile index d45b066cbdd..69d62407448 100644 --- a/tools/mold/Makefile +++ b/tools/mold/Makefile @@ -15,7 +15,6 @@ include $(INCLUDE_DIR)/cmake.mk CMAKE_HOST_OPTIONS += \ -DMOLD_LTO=ON \ - -DMOLD_MOSTLY_STATIC=ON \ -DMOLD_USE_SYSTEM_MIMALLOC=OFF \ -DMOLD_USE_SYSTEM_TBB=OFF