524a0d5d66
While meson always adds -Wall flag to C compiles, the make build adds extra warning flags that are not present in the meson build. This addresses that shortcoming by adding additional warning flags to our builds. The one omission is the -Wcast-align flag, which though present in make gcc builds, gives a lot of warnings/errors when used with clang. The removed warning "-Wunused-parameter" is covered by the "-Wextra" parameter so is unnecessary. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org>
20 lines
358 B
Meson
20 lines
358 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on linux'
|
|
endif
|
|
deps += ['mempool_dpaa']
|
|
|
|
sources = files('dpaa_ethdev.c',
|
|
'dpaa_rxtx.c')
|
|
|
|
if cc.has_argument('-Wno-pointer-arith')
|
|
cflags += '-Wno-pointer-arith'
|
|
endif
|
|
|
|
allow_experimental_apis = true
|
|
|
|
install_headers('rte_pmd_dpaa.h')
|