diff options
author | Andrew Morrow <acm@mongodb.com> | 2021-02-03 22:24:56 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-22 21:31:34 +0000 |
commit | 63a5a847c4ef2864e27cd406812bf47921d16e73 (patch) | |
tree | a9d82c27dce4bd28e93806bb0689324efbc8f2da /SConstruct | |
parent | cc4854a927905dcf32fd0968176a706dc37ed329 (diff) | |
download | mongo-63a5a847c4ef2864e27cd406812bf47921d16e73.tar.gz |
SERVER-51722 Enable -moutline-atomics on aarch64
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
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 |