From: Ross Burton Date: Tue, 15 Jul 2025 14:46:46 +0000 (+0100) Subject: clang: set CVE_PRODUCT X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=319e97643c1e342491931b6274996d1c8caa7d33;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git clang: set CVE_PRODUCT There are a number of recipes that are part of the LLVM Project, so set CVE_PRODUCT to llvm:llvm in common.inc to ensure that all of the recipes are covered. Also add llvm:clang in the clang recipe, as there are a number of CVEs with that product name. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/clang/clang_git.bb b/meta/recipes-devtools/clang/clang_git.bb index 1daac48eda..aa4aec1cd1 100644 --- a/meta/recipes-devtools/clang/clang_git.bb +++ b/meta/recipes-devtools/clang/clang_git.bb @@ -19,6 +19,8 @@ require common-source.inc BPN = "clang" +CVE_PRODUCT += "llvm:clang" + INHIBIT_DEFAULT_DEPS:class-native = "1" LDFLAGS:append:class-target:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" diff --git a/meta/recipes-devtools/clang/common.inc b/meta/recipes-devtools/clang/common.inc index a9d6f899c0..a49aa64f79 100644 --- a/meta/recipes-devtools/clang/common.inc +++ b/meta/recipes-devtools/clang/common.inc @@ -71,3 +71,5 @@ B ?= "${WORKDIR}/llvm-project-source-${PV}/build.${HOST_SYS}.${TARGET_SYS}" # The real WORKDIR location isn't a dependency for the shared workdir. src_patches[vardepsexclude] = "WORKDIR" should_apply[vardepsexclude] += "PN" + +CVE_PRODUCT = "llvm:llvm"