summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk/dpdk_17.11.3.bb
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2019-06-11 11:06:49 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2019-06-11 14:03:38 +0800
commitbe387ee9e5ae12e2e92d6c7921aa79283dbbeb8a (patch)
tree807110fb4ff393042bc7bd62f58c6d197433e082 /recipes-extended/dpdk/dpdk_17.11.3.bb
parentc8c30c2c4e2f36b4a55a69a475fe774015423705 (diff)
downloadmeta-dpdk-be387ee9e5ae12e2e92d6c7921aa79283dbbeb8a.tar.gz
dpdk: mk: disable warning for packed member pointer
Backport a patch from upstream to fix the following build failure. x86_64-native-linuxapp-gcc/include/rte_ether.h:178:2: error: converting a packed 'const struct ether_addr' pointer (alignment 1) to a 'unaligned_uint16_t' {aka 'const short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Werror=address-of-packed-member] | 178 | const unaligned_uint16_t *ea_words = (const unaligned_uint16_t *)ea; | | ^~~~~ Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-extended/dpdk/dpdk_17.11.3.bb')
-rw-r--r--recipes-extended/dpdk/dpdk_17.11.3.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk_17.11.3.bb b/recipes-extended/dpdk/dpdk_17.11.3.bb
index 7fc89d2..af42ad8 100644
--- a/recipes-extended/dpdk/dpdk_17.11.3.bb
+++ b/recipes-extended/dpdk/dpdk_17.11.3.bb
@@ -12,4 +12,5 @@ SRC_URI += "\
12 file://dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch \ 12 file://dpdk-16.07-dpdk-fix-for-parellel-make-issue.patch \
13 file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \ 13 file://dpdk-17.02-dpdk-fix-installation-warning-and-issue.patch \
14 file://dpdk-17.11-Fix-strncpy-error-for-GCC8.patch \ 14 file://dpdk-17.11-Fix-strncpy-error-for-GCC8.patch \
15 file://dpdk-17.11-mk-disable-warning-for-packed-member-pointer.patch \
15" 16"