From 8cd1409673665f7e355e025200af4e295193d138 Mon Sep 17 00:00:00 2001 From: niansa Date: Fri, 8 Mar 2024 18:38:00 +0000 Subject: [PATCH] Use mold in CI script --- .ci/scripts/linux/docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/scripts/linux/docker.sh b/.ci/scripts/linux/docker.sh index 7a734a08d9..d681680dbf 100755 --- a/.ci/scripts/linux/docker.sh +++ b/.ci/scripts/linux/docker.sh @@ -24,6 +24,7 @@ cmake .. \ -DSUYU_USE_BUNDLED_FFMPEG=ON \ -DSUYU_ENABLE_LTO=ON \ -DSUYU_CRASH_DUMPS=ON \ + -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold" -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=mold" \ -GNinja ninja