numam-dpdk/config
Gavin Hu d292a42fc8 build: fix for host clang and cross gcc
The following error hits if host cc compiler is clang(default one in most
linux distributions) and the cross compiler is gcc.

The root cause is: the hybride compilers add the warning options to the
meson project as project arguments, which apply for both host compiling and
cross compiling. But some options such as '-Wno-format-truncation' are not
supported nor recognized by clang, so they have to be removed from the
project arguments for the host compiler to run smoothily and added back as
cflags for the cross compiler to compile for cross source files.

The fix is remove unrecognized warning options from the meson project
arguments shared by gcc and clang, as add them specifically for gcc or
clang as cflags.

[265/893] Compiling C object
'buildtools/pmdinfogen/pmdinfogen@exe/pmdinfogen.c.o'.  warning: unknown
warning option '-Wno-format-truncation' [-Wunknown-warning-option]

Fixes: a55277a788 ("devtools: add test script for meson builds")
Cc: stable@dpdk.org

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Song Zhu <song.zhu@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2018-07-11 21:14:21 +02:00
..
arm build: fix meson warning 2018-07-11 21:14:21 +02:00
x86 build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
common_armv8a_linuxapp config: add dpaaX build for all Linux platforms 2018-03-15 17:44:16 +01:00
common_base cryptodev: remove max number of sessions parameter 2018-07-11 03:57:24 +02:00
common_bsdapp config: replace Intel license headers with SPDX tags 2018-02-01 02:39:40 +01:00
common_linuxapp net/ifc: make driver name consistent 2018-06-14 19:27:50 +02:00
defconfig_arm64-armv8a-linuxapp-clang config: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
defconfig_arm64-armv8a-linuxapp-gcc config: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
defconfig_arm64-dpaa2-linuxapp-gcc config: remove useless lines for DPAA2 2018-04-04 00:03:25 +02:00
defconfig_arm64-dpaa-linuxapp-gcc config: increase max lcore to 16 for DPAA 2018-05-14 12:47:30 +02:00
defconfig_arm64-stingray-linuxapp-gcc net/bnxt: introduce Broadcom Stingray 2018-04-14 00:59:41 +02:00
defconfig_arm64-thunderx-linuxapp-gcc config/thunderx: disable C11 memory model ring 2018-01-29 16:40:01 +01:00
defconfig_arm64-xgene1-linuxapp-gcc config: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
defconfig_arm-armv7a-linuxapp-gcc use SPDX tag for RehiveTech copyright files 2018-04-11 01:47:43 +02:00
defconfig_i686-native-linuxapp-gcc mem: replace memseg with memseg lists 2018-04-11 19:55:39 +02:00
defconfig_i686-native-linuxapp-icc net/ixgbe: enable vector PMD for icc 32 bits 2018-04-27 15:54:56 +01:00
defconfig_ppc_64-power8-linuxapp-gcc net/bonding: enable in ppc64le 2017-07-31 19:58:41 +02:00
defconfig_x86_64-native-bsdapp-clang config: replace Intel license headers with SPDX tags 2018-02-01 02:39:40 +01:00
defconfig_x86_64-native-bsdapp-gcc config: replace Intel license headers with SPDX tags 2018-02-01 02:39:40 +01:00
defconfig_x86_64-native-linuxapp-clang config: replace Intel license headers with SPDX tags 2018-02-01 02:39:40 +01:00
defconfig_x86_64-native-linuxapp-gcc config: replace Intel license headers with SPDX tags 2018-02-01 02:39:40 +01:00
defconfig_x86_64-native-linuxapp-icc config: replace Intel license headers with SPDX tags 2018-02-01 02:39:40 +01:00
defconfig_x86_x32-native-linuxapp-gcc mem: replace memseg with memseg lists 2018-04-11 19:55:39 +02:00
meson.build build: fix for host clang and cross gcc 2018-07-11 21:14:21 +02:00
rte_config.h cryptodev: remove max number of sessions parameter 2018-07-11 03:57:24 +02:00