Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): libbpf output #4589

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Feb 13, 2025

1. Explain what the PR does

48bfa62 fix(build): libbpf output

It also removes the 3rdparty/include/stdarg.h file, which is not needed.

2. Explain how to test it

3. Other comments

It also removes the 3rdparty/include/stdarg.h file, which is not needed.
@@ -450,7 +467,7 @@ TRACEE_SRC_DIRS = ./cmd/ ./pkg/ ./signatures/
TRACEE_SRC = $(shell find $(TRACEE_SRC_DIRS) -type f -name '*.go' ! -name '*_test.go')
GO_TAGS_EBPF = core,ebpf
CGO_EXT_LDFLAGS_EBPF =
CUSTOM_CGO_CFLAGS = "-I$(abspath $(OUTPUT_DIR)/libbpf) -I$(LIBBPF_INCLUDE_UAPI)"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use /usr/include here, but as our goal is to not depend on environment, let's keep using uapi provided by libbpf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant