summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/common.mk
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2023-09-19 00:23:40 +0200
committerAlexander Couzens <lynxis@fe80.eu>2023-09-19 20:22:59 +0200
commitbcf02c5d3123a99c717ca33f1d7c6250acf0f33f (patch)
treed6e621ac5fb7bdfea623408430b8d736d200a237 /toolchain/gcc/common.mk
parent02f86a0765279918b54d1d51fe1926db213aeb2a (diff)
downloadopenwrt-bcf02c5d3123a99c717ca33f1d7c6250acf0f33f.tar.gz
openwrt-bcf02c5d3123a99c717ca33f1d7c6250acf0f33f.tar.bz2
openwrt-bcf02c5d3123a99c717ca33f1d7c6250acf0f33f.zip
toolchain: assign PKG_CPE_ID
The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining package which have a CPE ID. Not every package has a CPE id. Related: https://github.com/openwrt/packages/issues/8534 Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'toolchain/gcc/common.mk')
-rw-r--r--toolchain/gcc/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index dcc79133ea..cdbf9fafa9 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -28,6 +28,7 @@ GCC_DIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@GNU/gcc/gcc-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_CPE_ID:=cpe:/a:gnu:gcc
ifeq ($(PKG_VERSION),11.3.0)
PKG_HASH:=b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39