summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-02-03 22:24:56 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-22 21:31:34 +0000
commit63a5a847c4ef2864e27cd406812bf47921d16e73 (patch)
treea9d82c27dce4bd28e93806bb0689324efbc8f2da /SConstruct
parentcc4854a927905dcf32fd0968176a706dc37ed329 (diff)
downloadmongo-63a5a847c4ef2864e27cd406812bf47921d16e73.tar.gz
SERVER-51722 Enable -moutline-atomics on aarch64
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 29930ed6979..72a50856a7d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4259,6 +4259,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