net/thunderx: disable PMD for old compilers
[dpdk.git] / mk / toolchain / icc / rte.toolchain-compat.mk
index 4134466..73770f7 100644 (file)
@@ -72,4 +72,9 @@ else
                # remove march options
                MACHINE_CFLAGS := $(patsubst -march=%,-xSSE3,$(MACHINE_CFLAGS))
        endif
+
+       # Disable thunderx PMD for icc <= 14.0
+       ifeq ($(shell test $(ICC_MAJOR_VERSION) -le 14 && echo 1), 1)
+               CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=d
+       endif
 endif