net/octeontx2: check compiler flag before use
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 24 Jan 2020 15:37:54 +0000 (15:37 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 6 Feb 2020 08:10:00 +0000 (09:10 +0100)
commitf2b700a3283b605dd44d376a894cf5d1870b7986
tree60e1b675fd79923532d97e006a7ba0a1639eea64
parentc886f4263a34ea083511c3a0a0206f5ba8a34934
net/octeontx2: check compiler flag before use

Rather than assuming all compilers support the -flax-vector-extensions
flag, we should test this before using it, thereby potentially avoiding
warnings.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/meson.build