mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Enable mold faster linker.
This commit is contained in:
parent
161fce4c38
commit
f7a3ec38c6
@ -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
|
||||
|
3
src/rust/.cargo/config.toml
Normal file
3
src/rust/.cargo/config.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "/usr/bin/clang"
|
||||
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]
|
Loading…
Reference in New Issue
Block a user