summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer2025-04-05 11:30:12 +0000
committerMatthias Schiffer2025-04-09 16:30:48 +0000
commitdc7933e77fcc7a388dfa2785b57b5b7c46b8a588 (patch)
tree0590fb24c88ba146e8e6a9a398f444e35ff5f8c6
parent2868202df3898481004570175a9e4a015da9b491 (diff)
downloadopenwrt-dc7933e77fcc7a388dfa2785b57b5b7c46b8a588.tar.gz
build: bpf: drop clang-11 lookup
CLANG_MIN_VER is 12, so there is no point in looking for clang-11. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Link: https://github.com/openwrt/openwrt/pull/18422 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 45f0eb106bed8868c02e0ccfb545b7e1c4279841)
-rw-r--r--include/bpf.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bpf.mk b/include/bpf.mk
index 8a0121aabe..915662a4fe 100644
--- a/include/bpf.mk
+++ b/include/bpf.mk
@@ -10,7 +10,7 @@ ifneq ($(CONFIG_USE_LLVM_HOST),)
else
BPF_PATH:=$(PATH)
endif
- CLANG:=$(firstword $(shell PATH='$(BPF_PATH)' command -v clang clang-13 clang-12 clang-11))
+ CLANG:=$(firstword $(shell PATH='$(BPF_PATH)' command -v clang clang-13 clang-12))
LLVM_VER:=$(subst clang,,$(notdir $(CLANG)))
endif
ifneq ($(CONFIG_USE_LLVM_PREBUILT),)