summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index c70dca76e88..631720209a1 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3899,6 +3899,9 @@ def doConfigure(myenv):
myenv = conf.Finish()
+ if env['TARGET_ARCH'] == "aarch64":
+ AddToCCFLAGSIfSupported(myenv, "-moutline-atomics")
+
conf = Configure(myenv)
usdt_enabled = get_option('enable-usdt-probes')
usdt_provider = None