diff options
author | He Zhe <zhe.he@windriver.com> | 2019-07-10 16:45:26 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-07-19 10:51:04 +0800 |
commit | 9ec4231c28cba7d6fc477a09650f1cf08b99640a (patch) | |
tree | 4d7dd8049255e1770139990f63711a0f8259f948 /recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch | |
parent | 1a80901a65bce2385dca5dfe60285e22de8d708b (diff) | |
download | meta-dpdk-9ec4231c28cba7d6fc477a09650f1cf08b99640a.tar.gz |
dpdk: Fix exmples and test _FORTIFY_SOURCE build failure
When building examples and tests with GCC9, the following errors come up,
error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
382 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
cc1: all warnings being treated as errors
dpdk itself already appends -O3 the EXTRA_CFLAGS for some of those cases, but
dpdk.inc overwrites EXTRA_CFLAGS when evoking make. This patches adds it back.
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-extended/dpdk-dev-libibverbs/files/0003-initialize-use_config_mr.patch')
0 files changed, 0 insertions, 0 deletions