summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJuraj Linkeš <juraj.linkes@pantheon.tech>2020-10-09 11:50:32 +0200
committerThomas Monjalon <thomas@monjalon.net>2020-10-13 16:35:48 +0200
commit36029fd6b14f6d3063d8cabc834fb1ff740a32a8 (patch)
tree813414c237fb3e38a83388e0408a8bc84e16b9dc /config
parentad6f7399d24748fb038e608a6c8f4362d00de890 (diff)
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š <juraj.linkes@pantheon.tech>
Diffstat (limited to 'config')
-rw-r--r--config/arm/meson.build2
1 files changed, 1 insertions, 1 deletions
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']],