]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/mold: remove static only dependencies 18881/head
authorRosen Penev <rosenp@gmail.com>
Tue, 20 May 2025 22:06:33 +0000 (15:06 -0700)
committerRobert Marko <robimarko@gmail.com>
Sat, 24 May 2025 09:25:29 +0000 (11:25 +0200)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18881
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/mold/Makefile

index d45b066cbddbdbade14c01be7b2e25dad2cb8da1..69d6240744842835437a264f793e3cb904176de4 100644 (file)
@@ -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