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 <jerinj@marvell.com>
This commit is contained in:
parent
530588f3cd
commit
19f3f97112
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user