diff options
author | 2024-11-22 21:27:40 +0000 | |
---|---|---|
committer | 2024-11-22 21:27:40 +0000 | |
commit | 1a6f176ce066fc39574db6b7bcb69da82e579199 (patch) | |
tree | a91ae61387d1c88299be8d2c094618a979db8848 | |
parent | a5d249284bf43c3dac985aacd6f515384cf01196 (diff) | |
parent | 761019cf337261eec97176a72a24eee20c1d6895 (diff) |
Merge "Soong: libbpf_prog: Define ENABLE_LIBBPF" into main
-rw-r--r-- | bpf/libbpf/libbpf_prog.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bpf/libbpf/libbpf_prog.go b/bpf/libbpf/libbpf_prog.go index 18e03a5e7..3b26d4654 100644 --- a/bpf/libbpf/libbpf_prog.go +++ b/bpf/libbpf/libbpf_prog.go @@ -158,7 +158,8 @@ func (libbpf *libbpfProg) GenerateAndroidBuildActions(ctx android.ModuleContext) "-Wall", "-Werror", "-Wextra", - + // Flag to assist with the transition to libbpf + "-DENABLE_LIBBPF", "-isystem bionic/libc/include", "-isystem bionic/libc/kernel/uapi", // The architecture doesn't matter here, but asm/types.h is included by linux/types.h. |