Skip to content

Commit

Permalink
feat: agent - eBPF Add a Musl flag option (#9022) (#9024)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinjiping authored Jan 24, 2025
1 parent 9cfd1e6 commit 30f9278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/ebpf/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ EBPF_CLAGS ?= -I. -Ivmlinux -Iinclude -I../../../crates/trace-utils/src \

%.elf: %.c
$(call msg,BPF,$@,$(CORE))
$(Q)$(CLANG) $(EBPF_CLAGS) $(EXTRA_EBPF_CLAGS) -std=gnu99 -Wimplicit-function-declaration \
$(Q)$(CLANG) $(EBPF_CLAGS) $(EXTRA_EBPF_CLAGS) -DCOMPILE_MUSL=$(C_USE_STATIC) -std=gnu99 -Wimplicit-function-declaration \
-ffreestanding -fno-builtin -Wall \
-Wno-deprecated-declarations \
-Wno-gnu-variable-sized-type-not-at-end \
Expand Down

0 comments on commit 30f9278

Please sign in to comment.