From 177da868d632fbe5e44163b01cb67a16940db23a Mon Sep 17 00:00:00 2001 From: Sim Sun Date: Tue, 10 Sep 2024 09:13:49 -0700 Subject: [PATCH] cherry-pick: Fix some C++ warnings found by clang on bpftrace --- projects/bpftrace/build.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/bpftrace/build.mk b/projects/bpftrace/build.mk index 757d0a7..eea6457 100644 --- a/projects/bpftrace/build.mk +++ b/projects/bpftrace/build.mk @@ -47,4 +47,6 @@ BPFTRACE_COMMIT = v0.21.2 BPFTRACE_REPO = https://github.com/iovisor/bpftrace.git/ projects/bpftrace/sources: git clone $(BPFTRACE_REPO) $@ - cd $@ && git checkout $(BPFTRACE_COMMIT) + cd $@ && git checkout $(BPFTRACE_COMMIT) && + # Fix some C++ warnings found by clang + git cherry-pick 65a08f4c38505d327862d52404be85469168966a