]> code.ossystems Code Review - meta-freescale.git/commit
dce/qbman_userspace: fix build issue with gcc10
authorTing Liu <ting.liu@nxp.com>
Tue, 15 Dec 2020 04:36:17 +0000 (10:06 +0530)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 16 Dec 2020 11:40:12 +0000 (08:40 -0300)
commitd33395a8a26ad024c1c4ce431698ece6d07b178a
tree0598137920671073b1399b367a361405cb0e279d
parent8358331febd6a96c3df0c54c86a47da036a84c25
dce/qbman_userspace: fix build issue with gcc10

Fix multiple definition of 'qman_version' error:
| .../dce/git-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/ld: libqbman.a(qbman_portal.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: multiple definition of `qman_version'; libqbman.a(qbman_debug.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: first defined here
| collect2: error: ld returned 1 exit status
| Makefile:41: recipe for target 'bin/dce-api-perf-test' failed
| make: *** [bin/dce-api-perf-test] Error 1

Signed-off-by: Ting Liu <ting.liu@nxp.com>
recipes-dpaa2/dce/dce_git.bb