summaryrefslogtreecommitdiff
path: root/lib/librte_acl
diff options
context:
space:
mode:
authorJerin Jacob <jerin.jacob@caviumnetworks.com>2016-05-26 16:50:14 +0530
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-06-07 10:02:39 +0200
commit52b50e8a6bc11b7b83a83c120bd250a25627c79c (patch)
tree6542b29a005c37353b11eeed902b5740be93571e /lib/librte_acl
parentaf82892dc121c63260953d935fa3eb96de75ed6c (diff)
downloaddpdk-52b50e8a6bc11b7b83a83c120bd250a25627c79c.zip
dpdk-52b50e8a6bc11b7b83a83c120bd250a25627c79c.tar.gz
dpdk-52b50e8a6bc11b7b83a83c120bd250a25627c79c.tar.xz
mk: fix cross-compilation
Removed comparison against $CC in Makefiles as in cross-compiling mode CC can be a different string instead of string "gcc" Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'lib/librte_acl')
-rw-r--r--lib/librte_acl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile
index 2e394c9..9803e9d 100644
--- a/lib/librte_acl/Makefile
+++ b/lib/librte_acl/Makefile
@@ -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