config: fix meson build on ThunderX2
authorGavin Hu <gavin.hu@arm.com>
Fri, 12 Jul 2019 09:58:34 +0000 (17:58 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jul 2019 22:19:51 +0000 (00:19 +0200)
commitc199ca15769370c848179065a57132569c6f03b3
treee4879ba21f4af67d118c0350f99df99f3e0da45b
parent2d10a3fbab8da3f9e6c8c82bf7a02255647faf66
config: fix meson build on ThunderX2

Since gcc-8.3(I tried 8.3 and 9.1), the meson build failed on ThunderX2.
It got the following compiling errors:
/usr/lib/gcc/aarch64-linux-gnu/9/include/arm_neon.h:26493:1: error:
inlining failed in call to always_inline ‘vmull_p64’:
target specific option mismatch 26493 | vmull_p64 (poly64_t a, poly64_t b)

Fixes: 7286c9d7234f ("config: add thunderx2 machine")
Cc: stable@dpdk.org
Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Jingzhao Ni <jingzhao.ni@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
config/arm/meson.build