mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
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. (From OE-Core rev: 319e97643c1e342491931b6274996d1c8caa7d33) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a83b6c53e0
commit
e3220f1648
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user