summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d336e2f..c2c7bad 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ bpfbuild:
.PHONY: gobuild
gobuild:
- echo 'package main' > internal/opids.go
+ echo 'package internal' > internal/opids.go
echo >> internal/opids.go
sed -E 's/#define (.*) ([0-9]+)/const \1 = \2/' opids.h >> internal/opids.go
go build -tags netgo -ldflags '-w -extldflags "-static"' -o ioriotng ./cmd/ioriotng/main.go