From 70dfa0ff58c730028e48caec5ec43f343e0449d3 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Mon, 8 Sep 2025 00:37:42 +0530 Subject: [PATCH] add -g to c-form Makefile --- Makefile | 2 +- examples/c-form/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9b35dad..7d33c06 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,4 @@ clean: all: install compile -.PHONY: all clean \ No newline at end of file +.PHONY: all clean diff --git a/examples/c-form/Makefile b/examples/c-form/Makefile index 5fa5969..5ae1f8f 100644 --- a/examples/c-form/Makefile +++ b/examples/c-form/Makefile @@ -10,7 +10,7 @@ OBJ := $(SRC:.bpf.c=.bpf.o) all: $(LL) $(OBJ) %.bpf.o: %.bpf.c - $(BPF_CLANG) -O2 -target bpf -c $< -o $@ + $(BPF_CLANG) -O2 -g -target bpf -c $< -o $@ %.bpf.ll: %.bpf.c $(BPF_CLANG) $(CFLAGS) -S $< -o $@