From 89e3927b8eeac04452a88f940111fea8e7f2a4dd Mon Sep 17 00:00:00 2001 From: Dmitry Savintsev Date: Wed, 19 Jul 2023 18:24:35 +0200 Subject: [PATCH] Update bpf-install instructions for a Mac (#21) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e28313..b30f2f3 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ brew install FiloSottile/musl-cross/musl-cross brew install llvm # adjust the path for LLVM installation as needed - if installed with brew on Mac, # see `brew --prefix llvm`. -$ LLVM_SYS_160_PREFIX=$(brew --prefix llvm) cargo install bpf-linker --features system-llvm +$ LLVM_SYS_160_PREFIX=$(brew --prefix llvm) cargo install bpf-linker --no-default-features $ cargo xtask build-ebpf --release # '-C link-arg=-s' flag is optional (to produce a smaller executable file) RUSTFLAGS="-Clinker=x86_64-linux-musl-ld -C link-arg=-s" cargo build --release --target=x86_64-unknown-linux-musl