Imported Upstream version 16.07-rc1
[deb_dpdk.git] / lib / librte_acl / Makefile
index 2e394c9..9803e9d 100644 (file)
@@ -73,7 +73,7 @@ else
        $(shell $(CC) -march=core-avx2 -dM -E - </dev/null 2>&1 | \
        grep -q AVX2 && echo 1)
        ifeq ($(CC_AVX2_SUPPORT), 1)
-               ifeq ($(CC), icc)
+               ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
                CFLAGS_acl_run_avx2.o += -march=core-avx2
                else
                CFLAGS_acl_run_avx2.o += -mavx2