瀏覽代碼

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: https://github.com/openwrt/openwrt/pull/18881
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev 7 月之前
父節點
當前提交
54c7538476
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      tools/mold/Makefile

+ 0 - 1
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