summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-02-11 22:52:30 +0200
committerPaul Buetow <paul@buetow.org>2024-02-11 22:52:30 +0200
commit38a1666d39d834a2d2bd69662291afd9a63b2fd6 (patch)
tree6dc353be146ff64a7a6819e45cd975b734e8a477 /build.sh
parent0297fb7b2176418638aa18aecf55edb9b549dfcb (diff)
rename c file
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index e0b1df9..cb26319 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ echo 'package main' > internal/opids.go
echo >> internal/opids.go
sed -E 's/#define (.*) ([0-9]+)/const \1 = \2/' opids.h >> internal/opids.go
-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
+clang -g -O2 -Wall -fpie -I../libbpfgo/selftest/common -target bpf -D__TARGET_ARCH_amd64 -I../libbpfgo/output -I../libbpfgo/selftest/common -c ioriotng.bpf.c -o ioriotng.bpf.o
export CC=clang
export CGO_CFLAGS="-I$LIBBPFGO/output -I$LIBBPFGO/selftest/common"