numam-dpdk/mk
Reshma Pattan a385972c36 mk: disable warning for packed member pointer
gcc 9 on Fedora 30 gives an error
"taking address of packed member may result in an
unaligned pointer value" warnings.

For clang builds this warning is already disabled,
so disable "-Waddress-of-packed-member" for gcc builds
also.

Snippet of build error:
lib/librte_eal/linux/eal/eal_memalloc.c: In function ‘alloc_seg_walk’:
lib/librte_eal/linux/eal/eal_memalloc.c:768:12: error:
taking address of packed member of ‘struct rte_mem_config’ may result
in an unaligned pointer value [-Werror=address-of-packed-member]
  768 |  cur_msl = &mcfg->memsegs[msl_idx];
      |            ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
2019-05-02 23:04:38 +02:00
..
arch use SPDX tag for RehiveTech copyright files 2018-04-11 01:47:43 +02:00
exec-env eal: add OS specific header file 2019-04-03 01:11:56 +02:00
internal mk: use EXTRA_CFLAGS for pmdinfogen 2018-10-25 00:02:00 +02:00
machine config: add octeontx2 machine 2019-04-15 22:58:20 +02:00
target/generic mk: introduce helper to check compiler argument 2019-04-15 22:55:56 +02:00
toolchain mk: disable warning for packed member pointer 2019-05-02 23:04:38 +02:00
rte.app.mk rcu: add RCU library supporting QSBR mechanism 2019-05-02 01:32:41 +02:00
rte.bsdmodule.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.combinedlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.cpuflags.mk mk: fix scope of disabling AVX512F support 2019-01-14 17:27:48 +01:00
rte.extapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extobj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extshared.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.extsubdir.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.gnuconfigure.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.helper.mk mk: introduce helper to check compiler argument 2019-04-15 22:55:56 +02:00
rte.hostapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.hostlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.install.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.lib.mk mk: fix build of shared library with libbsd 2019-02-24 23:23:57 +01:00
rte.module.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.obj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkbuild.mk test: move to app directory 2019-02-26 15:29:27 +01:00
rte.sdkconfig.mk build: use version number from config file 2019-03-27 09:43:47 +01:00
rte.sdkdepdirs.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkdoc.mk mk: use templated doxygen config 2018-09-18 15:49:48 +02:00
rte.sdkexamples.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.sdkgcov.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkinstall.mk mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
rte.sdkroot.mk mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
rte.sdktest.mk test: move to app directory 2019-02-26 15:29:27 +01:00
rte.shared.mk use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
rte.subdir.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.vars.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00