Skip to content

Commit 0c86ef7

Browse files
committed
[FIXME: what is happening with this Makefile?]
Somehow, test_progs-cpuv4 don't always build with v4. So hack it in to be always present.
1 parent e78cfcc commit 0c86ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ $(OUTPUT)/cgroup_getset_retval_hooks.o: cgroup_getset_retval_hooks.h
474474
# $4 - binary name
475475
define CLANG_BPF_BUILD_RULE
476476
$(call msg,CLNG-BPF,$4,$2)
477-
$(Q)$(CLANG) $3 -O2 $(BPF_TARGET_ENDIAN) -c $1 -mcpu=v3 -o $2
477+
$(Q)$(CLANG) $3 -O2 $(BPF_TARGET_ENDIAN) -c $1 -mcpu=v4 -o $2
478478
endef
479479
# Similar to CLANG_BPF_BUILD_RULE, but with disabled alu32
480480
define CLANG_NOALU32_BPF_BUILD_RULE

0 commit comments

Comments
 (0)