diff options
author | Ting Liu <ting.liu@nxp.com> | 2020-12-15 21:38:13 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-12-16 08:40:31 -0300 |
commit | 009f221c3e4467562d47a421547fedf71b5030a2 (patch) | |
tree | 802bd6d0975b651c929ac82790b60258b5d468f4 /recipes-extended/libpkcs11/libpkcs11_git.bb | |
parent | d33395a8a26ad024c1c4ce431698ece6d07b178a (diff) | |
download | meta-freescale-009f221c3e4467562d47a421547fedf71b5030a2.tar.gz |
libpkcs11: fix multiple definition error
gcc10 default to -fno-common, which results in error:
| ../aarch64-fsl-linux/10.2.0/ld: /tmp/ccaL5AXA.o:.../libpkcs11/git-r0/git/app/pkcs11_app.c:23: multiple definition of `funcs'; /tmp/ccvGV0xB.o:.../app/utils.c:18: first defined here
| collect2: error: ld returned 1 exit status
| Makefile:66: recipe for target 'app' failed
| make: *** [app] Error 1
Signed-off-by: Ting Liu <ting.liu@nxp.com>
Diffstat (limited to 'recipes-extended/libpkcs11/libpkcs11_git.bb')
-rw-r--r-- | recipes-extended/libpkcs11/libpkcs11_git.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb index 33c27ecd..30f33a20 100644 --- a/recipes-extended/libpkcs11/libpkcs11_git.bb +++ b/recipes-extended/libpkcs11/libpkcs11_git.bb | |||
@@ -2,7 +2,9 @@ DESCRIPTION = "PKCS library" | |||
2 | LICENSE = "GPLv2 & BSD" | 2 | LICENSE = "GPLv2 & BSD" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" |
4 | 4 | ||
5 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/libpkcs11;nobranch=1" | 5 | SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/libpkcs11;nobranch=1 \ |
6 | file://0001-fix-multiple-definition-error.patch \ | ||
7 | " | ||
6 | SRCREV = "a243fb21772f1bd434d8bc1ac45feb36571afadb" | 8 | SRCREV = "a243fb21772f1bd434d8bc1ac45feb36571afadb" |
7 | 9 | ||
8 | DEPENDS = "openssl secure-obj" | 10 | DEPENDS = "openssl secure-obj" |