drivers/crypto: disable gcc 10 no-common errors
[dpdk.git] / drivers / crypto / dpaa2_sec / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018 NXP
3
4 if not is_linux
5         build = false
6         reason = 'only supported on linux'
7 endif
8
9 deps += ['security', 'mempool_dpaa2']
10 sources = files('dpaa2_sec_dpseci.c',
11                 'mc/dpseci.c')
12
13 # FIXME: temporary solution for Bugzilla 469
14 if (toolchain == 'gcc' and cc.version().version_compare('>=10.0.0'))
15         cflags += '-fcommon'
16 endif
17
18 includes += include_directories('mc', '../../common/dpaax', '../../common/dpaax/caamflib')