[openwrt/openwrt] tools/mold: remove static only dependencies

LEDE Commits lede-commits at lists.infradead.org
Sat May 24 02:25:33 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/54c7538476e08df0635fdd1a2153c77c36a201c8

commit 54c7538476e08df0635fdd1a2153c77c36a201c8
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Tue May 20 15:06:33 2025 -0700

    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 <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18881
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 tools/mold/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/mold/Makefile b/tools/mold/Makefile
index d45b066cbd..69d6240744 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
 




More information about the lede-commits mailing list