Skip to content

Commit 54c7538

Browse files
nehebrobimarko
authored andcommitted
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 <[email protected]> Link: openwrt/openwrt#18881 Signed-off-by: Robert Marko <[email protected]>
1 parent 08a5add commit 54c7538

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/mold/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ include $(INCLUDE_DIR)/cmake.mk
1515

1616
CMAKE_HOST_OPTIONS += \
1717
-DMOLD_LTO=ON \
18-
-DMOLD_MOSTLY_STATIC=ON \
1918
-DMOLD_USE_SYSTEM_MIMALLOC=OFF \
2019
-DMOLD_USE_SYSTEM_TBB=OFF
2120

0 commit comments

Comments
 (0)