From: Juraj Linkeš Date: Fri, 9 Oct 2020 09:50:32 +0000 (+0200) Subject: config: add -moutline-atomics to default Arm build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=36029fd6b14f6d3063d8cabc834fb1ff740a32a8;p=dpdk.git config: add -moutline-atomics to default Arm build -moutline-atomics allows LSE instructions to be used if available when compiling for ARMv8.0 instruction set. It's enabled by default on newer compilers, such as gcc-10.1. Enable the option in case an earlier compiler version is used for the default build that lacks either -mcpu or -mtune which would otherwise enable it. Signed-off-by: Juraj Linkeš --- diff --git a/config/arm/meson.build b/config/arm/meson.build index 42c0c34a57..f26bc30efb 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -88,7 +88,7 @@ flags_octeontx2_extra = [ ['RTE_USE_C11_MEM_MODEL', true]] machine_args_generic = [ - ['default', ['-march=armv8-a+crc']], + ['default', ['-march=armv8-a+crc', '-moutline-atomics']], ['native', ['-march=native']], ['0xd03', ['-mcpu=cortex-a53']], ['0xd04', ['-mcpu=cortex-a35']],