mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
ibmswtpm2: upgrade 164-2020-192.1 -> 183-2024-03-27
Remove '-DALG_CAMELLIA=ALG_NO' from CFLAGS to fix compile error: | TpmProfile_Common.h:109: error: "ALG_CAMELLIA" redefined [-Werror] | 109 | #define ALG_CAMELLIA ALG_YES | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -19,13 +19,13 @@ DEPENDS = "openssl"
|
||||
SRC_URI = "git://git.code.sf.net/p/ibmswtpm2/tpm2;protocol=https;branch=master \
|
||||
file://tune-makefile.patch \
|
||||
"
|
||||
SRCREV = "5452af422edeff70fcae8ea99dd28a0922051d7b"
|
||||
SRCREV = "c37c74438429e1d5fe465232e7bf894b239a2cd4"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://git.code.sf.net/p/ibmswtpm2/tpm2"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "rev(?P<pver>\d+(\-\d+)+)"
|
||||
|
||||
S = "${WORKDIR}/git/src"
|
||||
|
||||
CFLAGS += "-Wno-error=maybe-uninitialized -DALG_CAMELLIA=ALG_NO"
|
||||
CFLAGS += "-Wno-error=maybe-uninitialized"
|
||||
|
||||
do_compile () {
|
||||
make CC='${CC}'
|
||||
Reference in New Issue
Block a user