Skip to content

Commit 70dfa0f

Browse files
committed
add -g to c-form Makefile
1 parent d87decd commit 70dfa0f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ clean:
1111

1212
all: install compile
1313

14-
.PHONY: all clean
14+
.PHONY: all clean

examples/c-form/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ OBJ := $(SRC:.bpf.c=.bpf.o)
1010
all: $(LL) $(OBJ)
1111

1212
%.bpf.o: %.bpf.c
13-
$(BPF_CLANG) -O2 -target bpf -c $< -o $@
13+
$(BPF_CLANG) -O2 -g -target bpf -c $< -o $@
1414

1515
%.bpf.ll: %.bpf.c
1616
$(BPF_CLANG) $(CFLAGS) -S $< -o $@

0 commit comments

Comments
 (0)