summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2025-05-20 22:06:33 +0000
committerRobert Marko2025-05-24 09:25:29 +0000
commit54c7538476e08df0635fdd1a2153c77c36a201c8 (patch)
tree30d8a958c148744369c36fe642215598f674991c
parent08a5add864033330029ee62eed2cdb206f7edffb (diff)
downloadopenwrt-54c7538476e08df0635fdd1a2153c77c36a201c8.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18881 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--tools/mold/Makefile1
1 files changed, 0 insertions, 1 deletions
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