Skip to content

Commit dff8470

Browse files
eddyz87anakryiko
authored andcommitted
samples/bpf: Pass TPROGS_USER_CFLAGS to libbpf makefile
Before commit [1], the value of a variable TPROGS_USER_CFLAGS was passed to libbpf make command as a part of EXTRA_CFLAGS. This commit makes sure that the value of TPROGS_USER_CFLAGS is still passed to libbpf make command, in order to maintain backwards build scripts compatibility. [1] commit 5a6ea70 ("samples/bpf: Remove unnecessary -I flags from libbpf EXTRA_CFLAGS") Fixes: 5a6ea70 ("samples/bpf: Remove unnecessary -I flags from libbpf EXTRA_CFLAGS") Suggested-by: Viktor Malik <[email protected]> Signed-off-by: Eduard Zingerman <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Viktor Malik <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent e2f0791 commit dff8470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/bpf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ always-y += ibumad_kern.o
123123
always-y += hbm_out_kern.o
124124
always-y += hbm_edt_kern.o
125125

126-
TPROGS_CFLAGS = $(TPROGS_USER_CFLAGS)
126+
COMMON_CFLAGS = $(TPROGS_USER_CFLAGS)
127127
TPROGS_LDFLAGS = $(TPROGS_USER_LDFLAGS)
128128

129129
ifeq ($(ARCH), arm)

0 commit comments

Comments
 (0)