Enable mold faster linker.

This commit is contained in:
Herbert Wolverson 2024-07-15 15:26:05 -05:00
parent 161fce4c38
commit f7a3ec38c6
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@
# Don't forget to setup `/etc/lqos.conf`
# Check Pre-Requisites
udo apt install python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname -r` libbpf-dev libssl-dev esbuild
udo apt install python3-pip clang gcc gcc-multilib llvm libelf-dev git nano graphviz curl screen llvm pkg-config linux-tools-common linux-tools-`uname -r` libbpf-dev libssl-dev esbuild mold
if ! rustup -V &> /dev/null
then

View File

@ -0,0 +1,3 @@
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]