diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-04 10:53:54 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-04 10:53:54 +0200 |
| commit | 6e03b744ba378c48b5120f7cf59f0b588a7cbd46 (patch) | |
| tree | 830ed4abb9d9ce485f90e684f68f229011ad13a0 | |
| parent | c0b133d43b9e2a33427b69f07efb81f7ff8f5746 (diff) | |
remove paul from paths
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,11 +2,13 @@ set -xeuf -o pipefail +declare -r LIBBPFGO="$(pwd)/../libbpfgo" + clang -g -O2 -Wall -fpie -I../libbpfgo/selftest/common -target bpf -D__TARGET_ARCH_amd64 -I../libbpfgo/output -I../libbpfgo/selftest/common -c main.bpf.c -o main.bpf.o export CC=clang -export CGO_CFLAGS="-I/home/paul/git/libbpfgo/output -I/home/paul/git/libbpfgo/selftest/common" -export CGO_LDFLAGS="-lelf -lzstd /home/paul/git/libbpfgo/output/libbpf.a" +export CGO_CFLAGS="-I$LIBBPFGO/output -I$LIBBPFGO/selftest/common" +export CGO_LDFLAGS="-lelf -lzstd $LIBBPFGO/output/libbpf.a" export GOOS=linux export GOARCH=amd64 |
