[openwrt/openwrt] build: bpf: drop clang-11 lookup

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 9 00:52:24 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/45f0eb106bed8868c02e0ccfb545b7e1c4279841

commit 45f0eb106bed8868c02e0ccfb545b7e1c4279841
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Sat Apr 5 13:30:12 2025 +0200

    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 at universe-factory.net>
    Link: https://github.com/openwrt/openwrt/pull/18422
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 include/bpf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),)




More information about the lede-commits mailing list