776d64ffb7
For non-AVX builds, the cflags used for compiling the i40e driver files are not passed to the call to build the AVX-specific code path. This can cause build failures. ../drivers/net/i40e/i40e_ethdev.h:888:42: error: ‘I40E_PFQF_HKEY_MAX_INDEX’ undeclared here (not in a function) Fixes: e940646b20fa ("drivers/net: build Intel NIC PMDs with meson") Reported-by: Shreyansh Jain <shreyansh.jain@nxp.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Shreyansh Jain <shreyansh.jain@nxp.com>