diff options
Diffstat (limited to 'recipes-extended/vpp-core/dpdkvpp/0004-update-WERROR_FLAGS.patch')
-rw-r--r-- | recipes-extended/vpp-core/dpdkvpp/0004-update-WERROR_FLAGS.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-extended/vpp-core/dpdkvpp/0004-update-WERROR_FLAGS.patch b/recipes-extended/vpp-core/dpdkvpp/0004-update-WERROR_FLAGS.patch deleted file mode 100644 index 61467377..00000000 --- a/recipes-extended/vpp-core/dpdkvpp/0004-update-WERROR_FLAGS.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From aa97b9162b68780ca912a226b5045a3ddab41d3c Mon Sep 17 00:00:00 2001 | ||
2 | From: Chunrong Guo <chunrong.guo@nxp.com> | ||
3 | Date: Thu, 4 Jul 2019 08:03:56 +0200 | ||
4 | Subject: [PATCH] update WERROR_FLAGS | ||
5 | |||
6 | Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com> | ||
7 | --- | ||
8 | kernel/linux/kni/Makefile | 2 +- | ||
9 | mk/toolchain/gcc/rte.vars.mk | 1 + | ||
10 | 2 files changed, 2 insertions(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/kernel/linux/kni/Makefile b/kernel/linux/kni/Makefile | ||
13 | index 595bac261..a17939996 100644 | ||
14 | --- a/kernel/linux/kni/Makefile | ||
15 | +++ b/kernel/linux/kni/Makefile | ||
16 | @@ -14,7 +14,7 @@ MODULE = rte_kni | ||
17 | MODULE_CFLAGS += -I$(SRCDIR) --param max-inline-insns-single=50 | ||
18 | MODULE_CFLAGS += -I$(RTE_OUTPUT)/include | ||
19 | MODULE_CFLAGS += -include $(RTE_OUTPUT)/include/rte_config.h | ||
20 | -MODULE_CFLAGS += -Wall -Werror | ||
21 | +MODULE_CFLAGS += -Wall -Werror -Wno-missing-attributes | ||
22 | |||
23 | -include /etc/lsb-release | ||
24 | |||
25 | diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk | ||
26 | index de5e0d24d..ca2cb5fcd 100644 | ||
27 | --- a/mk/toolchain/gcc/rte.vars.mk | ||
28 | +++ b/mk/toolchain/gcc/rte.vars.mk | ||
29 | @@ -49,6 +49,7 @@ WERROR_FLAGS += -Wcast-align -Wnested-externs -Wcast-qual | ||
30 | WERROR_FLAGS += -Wformat-nonliteral -Wformat-security | ||
31 | WERROR_FLAGS += -Wundef -Wwrite-strings -Wdeprecated | ||
32 | WERROR_FLAGS += -Wno-error=pedantic | ||
33 | +WERROR_FLAGS += -Wno-address-of-packed-member | ||
34 | |||
35 | ifeq ($(RTE_DEVEL_BUILD),y) | ||
36 | WERROR_FLAGS += -Werror | ||
37 | -- | ||
38 | 2.17.1 | ||
39 | |||