From: Jerin Jacob Date: Tue, 2 Jul 2019 15:06:19 +0000 (+0530) Subject: mk: fix -march for octeontx2 target X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=19f3f971123429b92fbfaa5175fa29724e94c8c9;p=dpdk.git mk: fix -march for octeontx2 target Correct the wrong -march=-mcpu=armv8.2-a+crc+crypto+lse for octeontx2 target. Since rte_cc_has_argument drops invalid CFLAG and -mcpu=octeontx2 picks up the correct optimization, this typo is not noticed in performance testing. Fixes: 01d184798731 ("config: add octeontx2 machine") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- diff --git a/mk/machine/octeontx2/rte.vars.mk b/mk/machine/octeontx2/rte.vars.mk index cbec7f14d1..e209cf4920 100644 --- a/mk/machine/octeontx2/rte.vars.mk +++ b/mk/machine/octeontx2/rte.vars.mk @@ -30,5 +30,5 @@ include $(RTE_SDK)/mk/rte.helper.mk -MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=-mcpu=armv8.2-a+crc+crypto+lse) +MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=armv8.2-a+crc+crypto+lse) MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=octeontx2)